

***VARIABLES USED TO CREATE OTHER VARIABLES AND TO RUN SUPPLEMENTAL ANALYSES (APPENDICES C AND D)****

***PARTY ID**

*Wave 1*

fre PARTY7_UPDATED_1.
recode PARTY7_UPDATED_1 (1=1) (2=1) (3=1) (4=2) (5=3) (6=3) (7=3) into W1partyID.
value labels W1partyID 1 "Republican" 2 "Pure Indep/Und/Other" 3 "Democrat".
variable labels W1partyID "Party ID W1".
fre W1partyID.

*Partisanship dummies*

if W1partyID=1 Republican_1=1.
if W1partyID=2 Republican_1=0.
if W1partyID=3 Republican_1=0.
variable labels Republican_1 "Republican or not W1".
value labels Republican_1 0 "Dem or Indep" 1 "Republican".
fre Republican_1.

if W1partyID=1 Democrat_1=0.
if W1partyID=2 Democrat_1=0.
if W1partyID=3 Democrat_1=1.
variable labels Democrat_1 "Democrat or not W1".
value labels Democrat_1 0 "Rep or Indep" 1 "Democrat".
fre Democrat_1.

fre PARTY7_UPDATED_1.
recode PARTY7_UPDATED_1 (1=3) (2=2) (3=1) (4=0) (5=1) (6=2) (7=3) into partystrength_1.
value labels partystrength_1 0 "Indep/undecided" 1 "Leans" 2 "Weak" 3 "Strong".
fre partystrength_1.

*dummies for party strength*

recode partystrength_1 (3=1) (2=0) (1=0) into strongpartisan_1.
recode partystrength_1 (1=1) (2=0) (3=0) into leanpartisan_1.
recode partystrength_1 (2=1) (1=0) (3=0) into weakpartisan_1.
fre strongpartisan_1 weakpartisan_1 leanpartisan_1 partystrength_1 party7_updated_1.


***POLITICAL INTEREST***

*Note: 1-4 scale coded so high=greater interest*

**W0/W1

freq pppa0004_1.
recode pppa0004_1 (1=4) (2=3) (3=2) (4=1)  into polinterest_1.
variable labels polinterest_1 "Political interest W0/1".
value labels polinterest_1 1 "Not at all interested" 2 "Slightly interested" 3 "Somewhat interested" 4 "Very interested".
freq polinterest_1.

**Dummy for W0/W1 political interest, split at the median  (median or lower=0, higher than median=1)
*median for W12345 partisans=3 (mean=2.97, mode=3)*

if polinterest_1<=3 polinterestDUM_1=0.
if polinterest_1>=4 polinterestDUM_1=1.
variable labels polinterestDUM_1 "W0/1 Pol. interest dummy split at median".
value labels polinterestDUM_1 0 "Low (median or lower)" 1 "High (above median)".
fre polinterest_1 polinterestDUM_1.



*IDEOLOGY*

*Wave 1 Ideology*

fre ideology_updated_1.
recode ideology_updated_1 (1=3) (2=3) (3=3) (4=2) (5=1) (6=1) (7=1) into W1ideology.
value labels W1ideology 1 "Conservative" 2 "Moderate" 3 "Liberal".
variable labels W1ideology "Ideology W1".
fre W1ideology.


**Dummies for W1 ideology**

recode W1ideology (1=1) (2=0) (3=0) into conservative_1.
recode W1ideology (1=0) (2=1) (3=0) into moderate_1.
recode W1ideology (1=0) (2=0) (3=1) into liberal_1.
fre w1ideology conservative_1 moderate_1 liberal_1.


*Wave 1 Strength of Ideology -- higher values = more extreme ideological views*

recode ideology_updated_1 (1=3) (2=2) (3=1) (4=0) (5=1) (6=2) (7=3) into ideostrength_1.
value labels ideostrength_1 0 "Moderate" 1 "Slight lib/con" 2 "Lib/con" 3 "Extreme lib/con".
variable labels ideostrength_1 "Strength of Ideology W1".
fre ideostrength_1.

*Wave 1 Consistency Between Ideological strength and Party ID
*Coded so that higher values indicate stronger partisanship in line with stronger ideology*
*Negative values indicate strength of ideology conflicts with party ID; positive values indicate strength of ideology consistent with party ID*

fre ideology_updated_1.
crosstabs ideology_updated_1 by W1partyID.
if W1partyID=1 and ideology_updated_1=1 ideoPstrength_1=-3.
if W1partyID=1 and ideology_updated_1=2 ideoPstrength_1=-2.
if W1partyID=1 and ideology_updated_1=3 ideoPstrength_1=-1.
if W1partyID=1 and ideology_updated_1=4 ideoPstrength_1=0.
if W1partyID=1 and ideology_updated_1=5 ideoPstrength_1=1.
if W1partyID=1 and ideology_updated_1=6 ideoPstrength_1=2.
if W1partyID=1 and ideology_updated_1=7 ideoPstrength_1=3.

if W1partyID=3 and ideology_updated_1=1 ideoPstrength_1=3.
if W1partyID=3 and ideology_updated_1=2 ideoPstrength_1=2.
if W1partyID=3 and ideology_updated_1=3 ideoPstrength_1=1.
if W1partyID=3 and ideology_updated_1=4 ideoPstrength_1=0.
if W1partyID=3 and ideology_updated_1=5 ideoPstrength_1=-1.
if W1partyID=3 and ideology_updated_1=6 ideoPstrength_1=-2.
if W1partyID=3 and ideology_updated_1=7 ideoPstrength_1=-3.
variable labels ideoPstrength_1 "Ideology strength in line with PartyID W1".
value labels ideoPstrength_1 -3 "Extreme ideo conflicts ID" -2 "Reg. ideo conflicts ID" -1 "Slight ideo conflicts ID" 0 "Moderate" 1 "Slight ideo like ID" 2 "Reg. ideo like ID" 3 "Extreme ideo like ID".
fre ideoPstrength_1.

*Dummy versions of ideoPstrength_1*

recode ideoPstrength_1 (-3=1) (-2=1) (-1=1) (0=0) (1=0) (2=0) (3=0) into ideoPconflict_1.
value labels ideoPconflict_1 1 "ideology and party conflict" 0 "moderate or ideo and party are same".
recode ideoPstrength_1 (-3=0) (-2=0) (-1=0) (0=1) (1=0) (2=0) (3=0) into ideoPmod_1.
value labels ideoPmod_1 1 "moderate" 0 "not moderate".
recode ideoPstrength_1 (-3=0) (-2=0) (-1=0) (0=0) (1=1) (2=1) (3=1) into ideoPlike_1.
value labels ideoPlike_1 1 "ideology and party are same" 0 "moderate or ideo and party conflict".
variable labels ideoPconflict_1 "dummy ideology and party conflict W1".
variable labels ideoPmod_1 "dummy moderate W1".
variable labels ideoPlike_1 "dummy ideology and party are same W1".
fre ideoPconflict_1 ideoPmod_1 ideoPlike_1.

**EDUCATION

fre PPEDUC_1.
recode ppeduc_1 (1=6) (2=10) (3=12) (4=14) (5=14) (6=16) (7=18) (8,9=20) into eduyrs_1.
variable labels eduyrs_1 "Education in years".
fre eduyrs_1.

compute eduyrsR_1=eduyrs_1/20.
variable labels eduyrsR_1 "Education in years, rescaled to 0-1".
fre eduyrsR_1.

fre ppeducat_1.
recode ppeducat_1 (1=0) (2=1) (3=2) (4=3) into edu4cat_1.
value labels edu4cat_1 0 "Less than HS" 1 "High school" 2 "Some college" 3 "BA or more".
variable labels edu4cat_1 "Education 4 categories".
fre edu4cat_1.


**RACE/ETHNICITY: recoded into dummies for White, Black, and Hispanic

fre ppethm_1.
recode ppethm_1 (1=1) (2,3,4,5=0) into white_1.
recode ppethm_1 (2=1) (1,3,4,5=0) into black_1.
recode ppethm_1 (4=1) (1,2,3,5=0) into hispanic_1.
fre ppethm_1 white_1 black_1 hispanic_1.


***GENDER: Female=1

fre PPGENDER_1.
recode ppgender_1 (1=0) (2=1) into female_1.
value labels female_1 0 "male" 1 "female".
fre female_1.



**INCOME: recoded into dollars

recode ppincimp_1 (1=2.5) (2=6.25) (3=8.75) (4=11.25) (5=13.75) (6=17.5) (7=22.5) (8=27.5) 
(9=32.5) (10=37.5) (11=45) (12=55) (13=67.5) (14=80) (15=92.5) (16=112.5) (17=137.5) (18=167.5) (19=225) into income_1.
fre PPINCIMP_1 income_1.
variable labels income_1 "Income recoded into dollars".

compute incomeR_1=income_1/225.
variable labels incomeR_1 "Income in dollars, rescaled to 0-1".
fre incomeR_1.

**AGE: recoded to 0-1

fre ppage_1.

compute age_1=ppage_1/96.
fre age_1.
variable labels age_1 "Age, rescaled to 0-1".


***VISUAL KNOWLEDGE OF CANDIDATE FACES (Wave 1)***
**Number of correctly identified candidate faces***
*Note: Clinton, Obama, and Giuliani items were removed part-way through wave, so only the items for Edwards, Thompson, and Romney were used


*Edwards*

freq nrl1b_1 nrl1b_dk_1.

missing values nrl1b_1 ().
temp.
select if (nrl1b_1=-1).
fre nrl1b_dk_1.

recode nrl1b_1 (6=1) (else=0) into jefacecorrect_1.
value labels jefacecorrect_1 1 "Correct" 0 "Incorrect, DK, refused".
variable labels jefacecorrect_1 "JE correct face recognition".
missing values jefacecorrect_1 (-3).
freq jefacecorrect_1.

*Romney*

recode nrl1e_1 (9=1) (else=0) into mrfacecorrect_1.
value labels mrfacecorrect_1 1 "Correct" 0 "Incorrect, DK, refused".
variable labels mrfacecorrect_1 "MR correct face recognition".
missing values mrfacecorrect_1 (-3).
freq nrl1e_1 nrl1e_dk_1 mrfacecorrect_1.

*Thompson*

recode nrl1f_1 (1=1) (else=0) into ftfacecorrect_1.
value labels ftfacecorrect_1 1 "Correct" 0 "Incorrect, DK, refused".
variable labels ftfacecorrect_1 "FT correct face recognition".
missing values ftfacecorrect_1 (-3).
freq nrl1f_1 nrl1f_dk_1 ftfacecorrect_1.


****Additive index****

compute numfacecorrect3_1=sum(jefacecorrect_1, mrfacecorrect_1, ftfacecorrect_1).
fre numfacecorrect3_1.
variable labels numfacecorrect3_1 "Visual knowledge 3 items".



**KNOWLEDGE OF CANDIDATE ISSUE POSITIONS (i.e., knowledge of agreement between self and candidate issue positions)**
*Only Obama and McCain included*


**WAVE 1**

**Abortion**

*Respondent position*

fre abortn_1.
compute abortionself_1=abortn_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = abortn_1 /TARGET VARIABLES=abortionself_1. 
freq abortn_1 abortionself_1.

*Candidate most like self or not*

compute abortionJM_1=JMgdabor_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = JMgdabor_1/TARGET VARIABLES=abortionJM_1. 
freq JMgdabor_1 abortionJM_1.

compute abortionBO_1=BOgdabor_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = BOgdabor_1 /TARGET VARIABLES=abortionBO_1. 
freq BOgdabor_1 abortionBO_1.

**Abortion knowledge*

if abortionself_1=3 and abortionBO_1=1 and abortionJM_1=0 abortionknow_1=0.
if abortionself_1=3 and abortionBO_1=1 and abortionJM_1=1 abortionknow_1=0.
if abortionself_1=3 and abortionBO_1=0 and abortionJM_1=0 abortionknow_1=0.
if abortionself_1=3 and abortionBO_1=0 and abortionJM_1=1 abortionknow_1=1.
if abortionself_1=4 and abortionBO_1=1 and abortionJM_1=0 abortionknow_1=0.
if abortionself_1=4 and abortionBO_1=1 and abortionJM_1=1 abortionknow_1=0.
if abortionself_1=4 and abortionBO_1=0 and abortionJM_1=0 abortionknow_1=0.
if abortionself_1=4 and abortionBO_1=0 and abortionJM_1=1 abortionknow_1=1.
if abortionself_1=1 and abortionBO_1=1 and abortionJM_1=0 abortionknow_1=1.
if abortionself_1=1 and abortionBO_1=1 and abortionJM_1=1 abortionknow_1=0.
if abortionself_1=1 and abortionBO_1=0 and abortionJM_1=0 abortionknow_1=0.
if abortionself_1=1 and abortionBO_1=0 and abortionJM_1=1 abortionknow_1=0.
if abortionself_1=2 and abortionBO_1=1 and abortionJM_1=0 abortionknow_1=1.
if abortionself_1=2 and abortionBO_1=1 and abortionJM_1=1 abortionknow_1=0.
if abortionself_1=2 and abortionBO_1=0 and abortionJM_1=0 abortionknow_1=0.
if abortionself_1=2 and abortionBO_1=0 and abortionJM_1=1 abortionknow_1=0.

value labels abortionknow_1 1 "Correct" 0 "Incorrect".
variable labels abortionknow_1 "Knowledge abortion W1".
fre abortionknow_1.



**Gay Marriage**

**Respondent position on gay marriage**

fre gaymar_1.
compute gaymarself_1=gaymar_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = gaymar_1 /TARGET VARIABLES=gaymarself_1. 
freq gaymar_1 gaymarself_1.

**Candidate most like self or not**

compute gaymarJM_1=JMgdgay_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = JMgdgay_1 /TARGET VARIABLES=gaymarJM_1. 
freq JMgdgay_1 gaymarJM_1.

compute gaymarBO_1=BOgdgay_1.
APPLY DICTIONARY from * /SOURCE VARIABLES =BOgdgay_1 /TARGET VARIABLES=gaymarBO_1. 
freq BOgdgay_1 gaymarBO_1.

**Knowledge of agreement with candidate**

if gaymarself_1=1 and gaymarBO_1=1 and gaymarJM_1=0 gaymarknow_1=1.
if gaymarself_1=1 and gaymarBO_1=1 and gaymarJM_1=1 gaymarknow_1=0.
if gaymarself_1=1 and gaymarBO_1=0 and gaymarJM_1=1 gaymarknow_1=0.
if gaymarself_1=1 and gaymarBO_1=0 and gaymarJM_1=0 gaymarknow_1=0.
if gaymarself_1=2 and gaymarBO_1=1 and gaymarJM_1=0 gaymarknow_1=1.
if gaymarself_1=2 and gaymarBO_1=1 and gaymarJM_1=1 gaymarknow_1=0.
if gaymarself_1=2 and gaymarBO_1=0 and gaymarJM_1=1 gaymarknow_1=0.
if gaymarself_1=2 and gaymarBO_1=0 and gaymarJM_1=0 gaymarknow_1=0.
if gaymarself_1=3 and gaymarBO_1=1 and gaymarJM_1=0 gaymarknow_1=0.
if gaymarself_1=3 and gaymarBO_1=1 and gaymarJM_1=1 gaymarknow_1=0.
if gaymarself_1=3 and gaymarBO_1=0 and gaymarJM_1=1 gaymarknow_1=1.
if gaymarself_1=3 and gaymarBO_1=0 and gaymarJM_1=0 gaymarknow_1=0.
variable labels gaymarknow_1 "Knowledge gay marriage W1".
value labels gaymarknow_1 1 "Correct" 0 "Incorrect".
fre gaymarknow_1.



***Iraq War***

*Respondent position*

compute iraqself_1=iraqwith_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = iraqwith_1 /TARGET VARIABLES=iraqself_1. 
freq iraqwith_1 iraqself_1.

*Candidate most like self or not*

compute iraqJM_1=JMgdiraq_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = JMgdiraq_1 /TARGET VARIABLES=iraqJM_1. 
freq JMgdiraq_1 iraqJM_1.

compute iraqBO_1=BOgdiraq_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = BOgdiraq_1 /TARGET VARIABLES=iraqBO_1. 
freq BOgdiraq_1 iraqBO_1.

*Knowledge of agreement*


if iraqself_1=3 and iraqBO_1=1 and iraqJM_1=0 iraqknow_1=0.
if iraqself_1=3 and iraqBO_1=1 and iraqJM_1=1 iraqknow_1=0.
if iraqself_1=3 and iraqBO_1=0 and iraqJM_1=0 iraqknow_1=0.
if iraqself_1=3 and iraqBO_1=0 and iraqJM_1=1 iraqknow_1=1.
if iraqself_1=1 and iraqBO_1=1 and iraqJM_1=0 iraqknow_1=1.
if iraqself_1=1 and iraqBO_1=1 and iraqJM_1=1 iraqknow_1=0.
if iraqself_1=1 and iraqBO_1=0 and iraqJM_1=0 iraqknow_1=0.
if iraqself_1=1 and iraqBO_1=0 and iraqJM_1=1 iraqknow_1=0.
if iraqself_1=2 and iraqBO_1=1 and iraqJM_1=0 iraqknow_1=1.
if iraqself_1=2 and iraqBO_1=1 and iraqJM_1=1 iraqknow_1=0.
if iraqself_1=2 and iraqBO_1=0 and iraqJM_1=0 iraqknow_1=0.
if iraqself_1=2 and iraqBO_1=0 and iraqJM_1=1 iraqknow_1=0.
value labels iraqknow_1 1 "Correct" 0 "Incorrect".
variable labels iraqknow_1 "Knowledge Iraq W1".
fre iraqknow_1.


**Trade**

*Respondent position*

fre trade_1.
compute tradeself_1=trade_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = trade_1 /TARGET VARIABLES=tradeself_1. 
freq trade_1 tradeself_1.

*Candidate most like self or not*

compute tradeJM_1=JMgdtrad_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = JMgdtrad_1 /TARGET VARIABLES=tradeJM_1. 
freq JMgdtrad_1 tradeJM_1.

compute tradeBO_1=BOgdtrad_1.
APPLY DICTIONARY from * /SOURCE VARIABLES = BOgdtrad_1 /TARGET VARIABLES=tradeBO_1. 
freq BOgdtrad_1 tradeBO_1.

*Knowledge on candidate agreement with self*

if tradeself_1=3 and tradeBO_1=1 and tradeJM_1=0 tradeknow_1=1.
if tradeself_1=3 and tradeBO_1=1 and tradeJM_1=1 tradeknow_1=0.
if tradeself_1=3 and tradeBO_1=0 and tradeJM_1=0 tradeknow_1=0.
if tradeself_1=3 and tradeBO_1=0 and tradeJM_1=1 tradeknow_1=0.
if tradeself_1=4 and tradeBO_1=1 and tradeJM_1=0 tradeknow_1=1.
if tradeself_1=4 and tradeBO_1=1 and tradeJM_1=1 tradeknow_1=0.
if tradeself_1=4 and tradeBO_1=0 and tradeJM_1=0 tradeknow_1=0.
if tradeself_1=4 and tradeBO_1=0 and tradeJM_1=1 tradeknow_1=0.
if tradeself_1=1 and tradeBO_1=1 and tradeJM_1=0 tradeknow_1=0.
if tradeself_1=1 and tradeBO_1=1 and tradeJM_1=1 tradeknow_1=0.
if tradeself_1=1 and tradeBO_1=0 and tradeJM_1=0 tradeknow_1=0.
if tradeself_1=1 and tradeBO_1=0 and tradeJM_1=1 tradeknow_1=1.
if tradeself_1=2 and tradeBO_1=1 and tradeJM_1=0 tradeknow_1=0.
if tradeself_1=2 and tradeBO_1=1 and tradeJM_1=1 tradeknow_1=0.
if tradeself_1=2 and tradeBO_1=0 and tradeJM_1=0 tradeknow_1=0.
if tradeself_1=2 and tradeBO_1=0 and tradeJM_1=1 tradeknow_1=1.

value labels tradeknow_1 1 "Correct" 0 "Incorrect".
variable labels tradeknow_1 "Knowledge Trade W1".
fre tradeknow_1.



**ADDITIVE SCALE OF KNOWLEDGE, WAVE 1**

compute JMBOknow_1=sum(tradeknow_1, gaymarknow_1, iraqknow_1, abortionknow_1).
fre JMBOknow_1.
variable labels JMBOknow_1 "Sum Know 4-items W1".



****COMPOSITE KNOWLEDGE INDEX: Adding together correct visual knowledge answers (3 items) and correct candidate issue position knowledge (4 items)
*Index ranges from 0 to 7*

fre JMBOknow_1 numfacecorrect3_1.
compute compositeknow_1=JMBOknow_1+numfacecorrect3_1.
variable labels compositeknow_1 "W1 JMBOknow plus numfacecorrect3".
fre compositeknow_1.



*Dummy for W1 composite knowledge*
*median for W12345 partisans=3 (mean=2.42, mode=3, 25/50/75 percentiles=1, 3, 3)*

FREQUENCIES VARIABLES=compositeknow_1
  /NTILES=4
  /STATISTICS=STDDEV VARIANCE RANGE MEAN MEDIAN MODE SKEWNESS SESKEW KURTOSIS SEKURT
  /ORDER=ANALYSIS.

if compositeknow_1<=3 compositeknowDUM_1=0.
if compositeknow_1>3 compositeknowDUM_1=1.
variable labels compositeknowDUM_1 "composite knowledge dummy split at median".
value labels compositeknowDUM_1 0 "Low (median or lower)" 1 "High (higher than median)".
fre compositeknow_1 compositeknowDUM_1.



***INTERPERSONAL POLITICAL DISCUSSION***

*in the past 12 months, did someone else try to tell you why you should vote for or against a candidate?

fre AG4F_5.

recode AG4F_5 (2=0) (1=1) into persuadeyou_5.
variable labels persuadeyou_5 "someone else tried to persuade me".
value labels persuadeyou_5 1 "yes" 0 "no".
fre AG4F_5 persuadeyou_5.

*in the past 12 months, told someone else why they should vote for/against a candidate*

fre AG4_3_5.

recode AG4_3_5 (2=0) (1=1) into persuadeother_5.
variable labels persuadeother_5 "tried to persuade someone else".
value labels persuadeother_5 1 "yes" 0 "no".
fre AG4_3_5 persuadeother_5.

*Dummy for either persuader or persuadee*

crosstabs persuadeyou_5 by persuadeother_5.

if persuadeyou_5=1 and persuadeother_5=1 perscomm_5=1.
if persuadeyou_5=0 and persuadeother_5=0 perscomm_5=0.
if persuadeyou_5=1 and persuadeother_5=0 perscomm_5=1.
if persuadeyou_5=0 and persuadeother_5=1 perscomm_5=1.
variable labels perscomm_5 "Interpersonal political discussion W5".
value labels perscomm_5 0 "No" 1 "Yes".
fre perscomm_5.



****EXPOSURE TO CAMPAIGN IN MEDIA OTHER THAN TV****

***HEARD ABOUT CAMPAIGN FROM TV, RADIO, NEWSPAPER, WEB, TV NEWSMAGAZINES***

*Dummy variables for heard on a given medium or not*

*Wave 2*

freq me1_1_2 me1_2_2 me1_3_2 me1_4_2 me1_5_2 me1_6_2 me1_7_2.

crosstabs me1_1_2 by me1_3_2.

if me1_1_2=1 or me1_3_2=1 heardtv_2=1.
if me1_1_2=0 and me1_3_2=0 heardtv_2=0.
value labels heardtv_2 1 "yes" 0 "no".
variable labels heardtv_2 "Heard about campaign on TV w2".
freq heardtv_2.

compute heardradio_2=me1_5_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_5_2 /TARGET VARIABLES=heardradio_2. 
freq me1_5_2 heardradio_2.
variable labels heardradio_2 "Heard about presidential campaign on radio w2".

compute heardpapers_2=me1_2_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_2_2 /TARGET VARIABLES=heardpapers_2. 
freq me1_2_2 heardpapers_2.
variable labels heardpapers_2 "Heard about presidential campaign in newspapers w2".

compute heardweb_2=me1_4_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_4_2 /TARGET VARIABLES=heardweb_2. 
freq me1_4_2 heardweb_2.
variable labels heardweb_2 "Heard about presidential campaign on Internet w2".

compute heardnewsmag_2=me1_6_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_6_2 /TARGET VARIABLES=heardnewsmag_2. 
freq me1_6_2 heardnewsmag_2.
variable labels heardnewsmag_2 "Heard about presidential campaign in news magazine w2".

compute notheard_2=me1_7_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_7_2 /TARGET VARIABLES=notheard_2. 
freq me1_7_2 notheard_2.
variable labels notheard_2 "Have not heard about presidential campaign w2".


*Wave 4*

freq me1_1_4 me1_2_4 me1_3_4 me1_4_4 me1_5_4 me1_6_4 me1_7_4.

crosstabs me1_1_4 by me1_3_4.

if me1_1_4=1 or me1_3_4=1 heardtv_4=1.
if me1_1_4=0 and  me1_3_4=0 heardtv_4=0.
value labels heardtv_4 1 "yes" 0 "no".
variable labels heardtv_4 "Heard about campaign on TV w4".
freq heardtv_4.

compute heardradio_4=me1_5_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_5_4 /TARGET VARIABLES=heardradio_4. 
freq me1_5_4 heardradio_4.
variable labels heardradio_4 "Heard about presidential campaign on radio w4".

compute heardpapers_4=me1_2_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_2_4 /TARGET VARIABLES=heardpapers_4. 
freq me1_2_4 heardpapers_4.
variable labels heardpapers_4 "Heard about presidential campaign in newspapers w4".

compute heardweb_4=me1_4_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_4_4 /TARGET VARIABLES=heardweb_4. 
freq me1_4_4 heardweb_4.
variable labels heardweb_4 "Heard about presidential campaign on Internet w4".

compute heardnewsmag_4=me1_6_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_6_4 /TARGET VARIABLES=heardnewsmag_4. 
freq me1_6_4 heardnewsmag_4.
variable labels heardnewsmag_4 "Heard about presidential campaign in news magazine w4".

compute notheard_4=me1_7_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me1_7_4 /TARGET VARIABLES=notheard_4. 
freq me1_7_4 notheard_4.
variable labels notheard_4 "Have not heard about presidential campaign w4".


*Wave 5*

freq me11_1_5 me11_2_5 me11_3_5 me11_4_5 me11_5_5 me11_6_5 me11_7_5.

crosstabs me11_1_5 by me11_3_5.

if me11_1_5=1 or me11_3_5=1 heardtv_5=1.
if me11_1_5=0 and me11_3_5=0 heardtv_5=0.
value labels heardtv_5 1 "yes" 0 "no".
variable labels heardtv_5 "Heard about campaign on TV w5".
freq heardtv_5.

compute heardradio_5=me11_5_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me11_5_5 /TARGET VARIABLES=heardradio_5. 
freq me11_5_5 heardradio_5.
variable labels heardradio_5 "Heard about presidential campaign on radio w5".

compute heardpapers_5=me11_2_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me11_2_5 /TARGET VARIABLES=heardpapers_5. 
freq me11_2_5 heardpapers_5.
variable labels heardpapers_5 "Heard about presidential campaign in newspapers w5".

compute heardweb_5=me11_4_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me11_4_5 /TARGET VARIABLES=heardweb_5. 
freq me11_4_5 heardweb_5.
variable labels heardweb_5 "Heard about presidential campaign on Internet w5".

compute heardnewsmag_5=me11_6_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me11_6_5 /TARGET VARIABLES=heardnewsmag_5. 
freq me11_6_5 heardnewsmag_5.
variable labels heardnewsmag_5 "Heard about presidential campaign in news magazine w5".

compute notheard_5=me11_7_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me11_7_5 /TARGET VARIABLES=notheard_5. 
freq me11_7_5 notheard_5.
variable labels notheard_5 "Have not heard about presidential campaign w5".


*treating exposure as stable

compute heardweb_scale=mean(heardweb_2, heardweb_4, heardweb_5).
descriptives vars heardweb_2 heardweb_4 heardweb_5 heardweb_scale.
fre heardweb_2 heardweb_4 heardweb_5 heardweb_scale.

compute heardnewsmag_scale=mean(heardnewsmag_2, heardnewsmag_4, heardnewsmag_5).
fre heardnewsmag_scale heardnewsmag_2 heardnewsmag_4 heardnewsmag_5.


**NUMBER OF RADIO PROGRAMS**

*Recoding individual radio shows: Wave 2

fre heardradio_2.

compute limbaughR_2=ME6A_1_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_1_2 /TARGET VARIABLES=limbaughR_2. 
recode limbaughR_2 (1=1) (0=0) (missing=0) into limbaughR_2.
fre ME6A_1_2 limbaughR_2.

compute hannityR_2=ME6A_2_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_2_2 /TARGET VARIABLES=hannityR_2. 
recode hannityR_2 (1=1) (0=0) (missing=0) into hannityR_2.
fre ME6A_2_2 hannityR_2.

compute savageR_2=ME6A_3_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_3_2 /TARGET VARIABLES=savageR_2. 
recode savageR_2 (1=1) (0=0) (missing=0) into savageR_2.
fre ME6A_3_2 savageR_2.

compute gbeckR_2=ME6A_4_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_4_2 /TARGET VARIABLES=gbeckR_2. 
recode gbeckR_2 (1=1) (0=0) (missing=0) into gbeckR_2.
fre ME6A_4_2 gbeckR_2.

compute oreillyR_2=ME6A_5_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_5_2 /TARGET VARIABLES=oreillyR_2. 
recode oreillyR_2 (1=1) (0=0) (missing=0) into oreillyR_2.
fre ME6A_5_2 oreillyR_2.

compute drlauraR_2=ME6A_6_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_6_2 /TARGET VARIABLES=drlauraR_2. 
recode drlauraR_2 (1=1) (0=0) (missing=0) into drlauraR_2.
fre ME6A_6_2 drlauraR_2.

compute ingrahamR_2=ME6A_7_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_7_2 /TARGET VARIABLES=ingrahamR_2. 
recode ingrahamR_2 (1=1) (0=0) (missing=0) into ingrahamR_2.
fre ME6A_7_2 ingrahamR_2.

compute nboortzR_2=ME6A_8_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_8_2 /TARGET VARIABLES=nboortzR_2. 
recode nboortzR_2 (1=1) (0=0) (missing=0) into nboortzR_2.
fre ME6A_8_2 nboortzR_2.

compute gallagherR_2=ME6A_9_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_9_2 /TARGET VARIABLES=gallagherR_2. 
recode gallagherR_2 (1=1) (0=0) (missing=0) into gallagherR_2.
fre ME6A_9_2 gallagherR_2.

compute BohannonR_2=ME6A_10_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_10_2 /TARGET VARIABLES=BohannonR_2. 
recode BohannonR_2 (1=1) (0=0) (missing=0) into BohannonR_2.
fre ME6A_10_2 BohannonR_2.

compute chowardR_2=ME6A_11_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_11_2 /TARGET VARIABLES=chowardR_2. 
recode chowardR_2 (1=1) (0=0) (missing=0) into chowardR_2.
fre ME6A_11_2 chowardR_2.

compute mlevinR_2=ME6A_12_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_12_2 /TARGET VARIABLES=mlevinR_2. 
recode mlevinR_2 (1=1) (0=0) (missing=0) into mlevinR_2.
fre ME6A_12_2 mlevinR_2.

compute bennettR_2=ME6A_13_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_13_2 /TARGET VARIABLES=bennettR_2. 
recode bennettR_2 (1=1) (0=0) (missing=0) into bennettR_2.
fre ME6A_13_2 bennettR_2.

compute jdoyleR_2=ME6A_14_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_14_2 /TARGET VARIABLES=jdoyleR_2. 
recode jdoyleR_2 (1=1) (0=0) (missing=0) into jdoyleR_2.
fre ME6A_14_2 jdoyleR_2.

compute NPR_2=ME6A_15_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A_15_2 /TARGET VARIABLES=NPR_2. 
recode NPR_2 (1=1) (0=0) (missing=0) into NPR_2.
fre ME6A_15_2 NPR_2.


**Number of Political Radio Shows Listened To

count numberradio_2=limbaughR_2 hannityR_2 savageR_2 gbeckR_2 oreillyR_2 drlauraR_2 ingrahamR_2 
nboortzR_2 gallagherR_2 BohannonR_2 chowardR_2 mlevinR_2 bennettR_2 jdoyleR_2 NPR_2 (1).
variable labels numberradio_2 "Number of Radio Shows w2".
fre numberradio_2.


**Total Exposure to Radio**

crosstabs numberradio_2 by heardradio_2.

if numberradio_2=0 and heardradio_2=1 radioexposure_2=1.
if numberradio_2=0 and heardradio_2=0 radioexposure_2=0.
if numberradio_2>=1 radioexposure_2=numberradio_2+1.
fre radioexposure_2.
variable labels radioexposure_2 "Radio exposure W2 - heard plus program list".



*Recoding individual radio shows: Wave 4

fre heardradio_4.

compute limbaughR_4=ME6A01_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A01_4 /TARGET VARIABLES=limbaughR_4. 
recode limbaughR_4 (1=1) (0=0) (missing=0) into limbaughR_4.
fre ME6A01_4 limbaughR_4.

compute hannityR_4=ME6A02_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A02_4 /TARGET VARIABLES=hannityR_4. 
recode hannityR_4 (1=1) (0=0) (missing=0) into hannityR_4.
fre ME6A02_4 hannityR_4.

compute savageR_4=ME6A03_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A03_4 /TARGET VARIABLES=savageR_4. 
recode savageR_4 (1=1) (0=0) (missing=0) into savageR_4.
fre ME6A03_4 savageR_4.

compute gbeckR_4=ME6A04_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A04_4 /TARGET VARIABLES=gbeckR_4. 
recode gbeckR_4 (1=1) (0=0) (missing=0) into gbeckR_4.
fre ME6A04_4 gbeckR_4.

compute oreillyR_4=ME6A05_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A05_4 /TARGET VARIABLES=oreillyR_4. 
recode oreillyR_4 (1=1) (0=0) (missing=0) into oreillyR_4.
fre ME6A05_4 oreillyR_4.

compute drlauraR_4=ME6A06_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A06_4 /TARGET VARIABLES=drlauraR_4. 
recode drlauraR_4 (1=1) (0=0) (missing=0) into drlauraR_4.
fre ME6A06_4 drlauraR_4.

compute ingrahamR_4=ME6A07_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A07_4 /TARGET VARIABLES=ingrahamR_4. 
recode ingrahamR_4 (1=1) (0=0) (missing=0) into ingrahamR_4.
fre ME6A07_4 ingrahamR_4.

compute nboortzR_4=ME6A08_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A08_4 /TARGET VARIABLES=nboortzR_4. 
recode nboortzR_4 (1=1) (0=0) (missing=0) into nboortzR_4.
fre ME6A08_4 nboortzR_4.

compute gallagherR_4=ME6A09_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A09_4 /TARGET VARIABLES=gallagherR_4. 
recode gallagherR_4 (1=1) (0=0) (missing=0) into gallagherR_4.
fre ME6A09_4 gallagherR_4.

compute BohannonR_4=ME6A10_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A10_4 /TARGET VARIABLES=BohannonR_4. 
recode BohannonR_4 (1=1) (0=0) (missing=0) into BohannonR_4.
fre ME6A10_4 BohannonR_4.

compute chowardR_4=ME6A11_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A11_4 /TARGET VARIABLES=chowardR_4. 
recode chowardR_4 (1=1) (0=0) (missing=0) into chowardR_4.
fre ME6A11_4 chowardR_4.

compute mlevinR_4=ME6A12_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A12_4 /TARGET VARIABLES=mlevinR_4. 
recode mlevinR_4 (1=1) (0=0) (missing=0) into mlevinR_4.
fre ME6A12_4 mlevinR_4.

compute bennettR_4=ME6A13_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A13_4 /TARGET VARIABLES=bennettR_4. 
recode bennettR_4 (1=1) (0=0) (missing=0) into bennettR_4.
fre ME6A13_4 bennettR_4.

compute jdoyleR_4=ME6A14_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A14_4 /TARGET VARIABLES=jdoyleR_4. 
recode jdoyleR_4 (1=1) (0=0) (missing=0) into jdoyleR_4.
fre ME6A14_4 jdoyleR_4.

compute NPR_4=ME6A15_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A15_4 /TARGET VARIABLES=NPR_4. 
recode NPR_4 (1=1) (0=0) (missing=0) into NPR_4.
fre ME6A15_4 NPR_4.


**Number of Political Radio Shows Listened To

count numberradio_4=limbaughR_4 hannityR_4 savageR_4 gbeckR_4 oreillyR_4 drlauraR_4 ingrahamR_4 
nboortzR_4 gallagherR_4 BohannonR_4 chowardR_4 mlevinR_4 bennettR_4 jdoyleR_4 NPR_4 (1).
variable labels numberradio_4 "Number of Radio Shows w4".
fre numberradio_4.

**Total Exposure to Radio*

crosstabs numberradio_4 by heardradio_4.

if numberradio_4=0 and heardradio_4=1 radioexposure_4=1.
if numberradio_4=0 and heardradio_4=0 radioexposure_4=0.
if numberradio_4>=1 radioexposure_4=numberradio_4+1.
fre radioexposure_4.
variable labels radioexposure_4 "Radio exposure W4 - heard plus prog list".


*Recoding individual radio shows: Wave 5

fre heardradio_5.

compute limbaughR_5=ME6A01_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A01_5 /TARGET VARIABLES=limbaughR_5. 
recode limbaughR_5 (1=1) (0=0) (missing=0) into limbaughR_5.
fre ME6A01_5 limbaughR_5.

compute hannityR_5=ME6A02_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A02_5 /TARGET VARIABLES=hannityR_5. 
recode hannityR_5 (1=1) (0=0) (missing=0) into hannityR_5.
fre ME6A02_5 hannityR_5.

compute savageR_5=ME6A03_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A03_5 /TARGET VARIABLES=savageR_5. 
recode savageR_5 (1=1) (0=0) (missing=0) into savageR_5.
fre ME6A03_5 savageR_5.

compute gbeckR_5=ME6A04_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A04_5 /TARGET VARIABLES=gbeckR_5. 
recode gbeckR_5 (1=1) (0=0) (missing=0) into gbeckR_5.
fre ME6A04_5 gbeckR_5.

compute oreillyR_5=ME6A05_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A05_5 /TARGET VARIABLES=oreillyR_5. 
recode oreillyR_5 (1=1) (0=0) (missing=0) into oreillyR_5.
fre ME6A05_5 oreillyR_5.

compute drlauraR_5=ME6A06_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A06_5 /TARGET VARIABLES=drlauraR_5. 
recode drlauraR_5 (1=1) (0=0) (missing=0) into drlauraR_5.
fre ME6A06_5 drlauraR_5.

compute ingrahamR_5=ME6A07_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A07_5 /TARGET VARIABLES=ingrahamR_5. 
recode ingrahamR_5 (1=1) (0=0) (missing=0) into ingrahamR_5.
fre ME6A07_5 ingrahamR_5.

compute nboortzR_5=ME6A08_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A08_5 /TARGET VARIABLES=nboortzR_5. 
recode nboortzR_5 (1=1) (0=0) (missing=0) into nboortzR_5.
fre ME6A08_5 nboortzR_5.

compute gallagherR_5=ME6A09_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A09_5 /TARGET VARIABLES=gallagherR_5. 
recode gallagherR_5 (1=1) (0=0) (missing=0) into gallagherR_5.
fre ME6A09_5 gallagherR_5.

compute BohannonR_5=ME6A10_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A10_5 /TARGET VARIABLES=BohannonR_5. 
recode BohannonR_5 (1=1) (0=0) (missing=0) into BohannonR_5.
fre ME6A10_5 BohannonR_5.

compute chowardR_5=ME6A11_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A11_5 /TARGET VARIABLES=chowardR_5. 
recode chowardR_5 (1=1) (0=0) (missing=0) into chowardR_5.
fre ME6A11_5 chowardR_5.

compute mlevinR_5=ME6A12_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A12_5 /TARGET VARIABLES=mlevinR_5. 
recode mlevinR_5 (1=1) (0=0) (missing=0) into mlevinR_5.
fre ME6A12_5 mlevinR_5.

compute bennettR_5=ME6A13_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A13_5 /TARGET VARIABLES=bennettR_5. 
recode bennettR_5 (1=1) (0=0) (missing=0) into bennettR_5.
fre ME6A13_5 bennettR_5.

compute jdoyleR_5=ME6A14_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A14_5 /TARGET VARIABLES=jdoyleR_5. 
recode jdoyleR_5 (1=1) (0=0) (missing=0) into jdoyleR_5.
fre ME6A14_5 jdoyleR_5.

compute NPR_5=ME6A15_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME6A15_5 /TARGET VARIABLES=NPR_5. 
recode NPR_5 (1=1) (0=0) (missing=0) into NPR_5.
fre ME6A15_5 NPR_5.


**Number of Political Radio Shows Listened To

count numberradio_5=limbaughR_5 hannityR_5 savageR_5 gbeckR_5 oreillyR_5 drlauraR_5 ingrahamR_5 
nboortzR_5 gallagherR_5 BohannonR_5 chowardR_5 mlevinR_5 bennettR_5 jdoyleR_5 NPR_5 (1).
variable labels numberradio_5 "Number of Radio Shows w5".
fre numberradio_5.

**Total Exposure to Radio*

crosstabs numberradio_5 by heardradio_5.

if numberradio_5=0 and heardradio_5=1 radioexposure_5=1.
if numberradio_5=0 and heardradio_5=0 radioexposure_5=0.
if numberradio_5>=1 radioexposure_5=numberradio_5+1.
fre radioexposure_5.
variable labels radioexposure_5 "Radio exposure W5 - heard plus prog list".



*****NEWSPAPER EXPOSURE**********

****Wave 2****

**Creating variables to capture number of characters typed into open-ended newspaper boxes**

compute np1_2=CHAR.LENGTH(ME3_1a_2). 
frequencies vars = np1_2.
variable labels np1_2 "Num. characters np1 W2".

compute np2_2=CHAR.LENGTH(ME3_2a_2). 
frequencies vars = np2_2.
variable labels np2_2 "Num. characters np2 W2".

SORT CASES BY np1_2(A).

**Creating variable for newspaper exposure
*note: values of 0=didn't hear of campaign in newspaper or heard of campaign in paper but no name provided
*1=heard of campaign and provided 1 paper name; 2=heard of campaign and provided 2 paper names*

if heardpapers_2=0 npexposure_2=0.
if heardpapers_2=1 and np1_2=0 and np2_2=0 npexposure_2=1.
if heardpapers_2=1 and np1_2>0 and np2_2=0 npexposure_2=2.
if heardpapers_2=1 and np1_2=0 and np2_2>0 npexposure_2=2.
if heardpapers_2=1 and np1_2>0 and np2_2>0 npexposure_2=3.
fre npexposure_2.
variable label npexposure_2 "Newspaper exposure W2".
value labels npexposure_2 0 "No exposure" 1 "No paper name" 2 "1 paper name" 3 "2 paper names".
fre heardpapers_2 npexposure_2.

SORT CASES BY MNO(A).

recode npexposure_2 (0=0) (1=0) (2=1) (3=2) into npexposure_2.
variable labels npexposure_2 "Newspaper exposure W2".
value labels npexposure_2 0 "No exposure" 1 "1 paper name" 2 "2 paper names".
fre npexposure_2.



****Wave 4****

**Creating variables to capture number of characters typed into open-ended newspaper boxes**

compute np1_4=CHAR.LENGTH(ME3_11_4). 
frequencies vars = np1_4.
variable labels np1_4 "Num. characters np1 W4".

compute np2_4=CHAR.LENGTH(ME3_12_4). 
frequencies vars = np2_4.
variable labels np2_4 "Num. characters np2 W4".

SORT CASES BY np1_4(A).

SORT CASES BY MNO(A).

**Creating variable for newspaper exposure
*note: values of 0=didn't hear of campaign in newspaper or heard of campaign in paper but no name provided
*1=heard of campaign and provided 1 paper name; 2=heard of campaign and provided 2 paper names*

if heardpapers_4=0 npexposure_4=0.
if heardpapers_4=1 and np1_4=0 and np2_4=0 npexposure_4=1.
if heardpapers_4=1 and np1_4>0 and np2_4=0 npexposure_4=2.
if heardpapers_4=1 and np1_4=0 and np2_4>0 npexposure_4=2.
if heardpapers_4=1 and np1_4>0 and np2_4>0 npexposure_4=3.
fre npexposure_4.
variable label npexposure_4 "Newspaper exposure W4".
value labels npexposure_4 0 "No exposure" 1 "No paper name" 2 "1 paper name" 3 "2 paper names".
fre heardpapers_4 npexposure_4.



recode npexposure_4 (0=0) (1=0) (2=1) (3=2) into npexposure_4.
variable labels npexposure_4 "Newspaper exposure W4".
value labels npexposure_4 0 "No exposure" 1 "1 paper name" 2 "2 paper names".
fre npexposure_4.


****Wave 5****

**Creating variables to capture number of characters typed into open-ended newspaper boxes**

compute np1_5=CHAR.LENGTH(ME3_1_1_5). 
frequencies vars = np1_5.
variable labels np1_5 "Num. characters np1 W5".

compute np2_5=CHAR.LENGTH(ME3_1_2_5). 
frequencies vars = np2_5.
variable labels np2_5 "Num. characters np2 W5".

SORT CASES BY np1_5(A).

SORT CASES BY MNO(A).

**Creating variable for newspaper exposure
*note: values of 0=didn't hear of campaign in newspaper or heard of campaign in paper but no name provided
*1=heard of campaign and provided 1 paper name; 2=heard of campaign and provided 2 paper names*

if heardpapers_5=0 npexposure_5=0.
if heardpapers_5=1 and np1_5=0 and np2_5=0 npexposure_5=1.
if heardpapers_5=1 and np1_5>0 and np2_5=0 npexposure_5=2.
if heardpapers_5=1 and np1_5=0 and np2_5>0 npexposure_5=2.
if heardpapers_5=1 and np1_5>0 and np2_5>0 npexposure_5=3.
fre npexposure_5.
variable label npexposure_5 "Newspaper exposure W5".
value labels npexposure_5 0 "No exposure" 1 "No paper name" 2 "1 paper name" 3 "2 paper names".
fre heardpapers_5 npexposure_5.



recode npexposure_5 (0=0) (1=0) (2=1) (3=2) into npexposure_5.
variable labels npexposure_5 "Newspaper exposure W5".
value labels npexposure_5 0 "No exposure" 1 "1 paper name" 2 "2 paper names".
fre npexposure_5.


***AVERAGE EXPOSURE TO RADIO***

do if (wave245resp=1).
compute radioexposureavg=mean(radioexposure_2, radioexposure_4, radioexposure_5).
end if.
variable labels radioexposureavg "Radio exposure W245 avg".
fre radioexposureavg.

***AVERAGE EXPOSURE TO NEWSPAPERS***

do if (wave245resp=1).
compute npexposureavg=mean(npexposure_2, npexposure_4, npexposure_5).
end if.
variable labels npexposureavg "Newspaper exposure W245 avg".
fre npexposureavg.

***AVERAGE EXPOSURE TO WEB***

do if (wave245resp=1).
compute heardwebavg=mean(heardweb_2, heardweb_4, heardweb_5).
end if.
variable labels heardwebavg "Heard abt campaign on Web W245 avg".
fre heardwebavg.

***AVERAGE EXPOSURE TO NEWS MAGAZINES***

do if (wave245resp=1).
compute heardnewsmagavg=mean(heardnewsmag_2, heardnewsmag_4, heardnewsmag_5).
end if.
variable labels heardnewsmagavg "Heard abt campaign in news mags W245 avg".
fre heardnewsmagavg.


**Amount of TV watched the previous night (proxy for political ad exposure)

fre ME11_2 ME11_4 ME11_5.

recode ME11_2 (-1=sysmis) (1=0) (2=1) (3=2) (4=3) (5=4) (6=5) (7=6) into tvhours_2.
variable labels tvhours_2 "Amount of TV last night W2".
value labels tvhours_2 0 "Did not watch TV between 6 and 11 last night" 1 "Less than 1 hour" 2 "Between 1 and 2 hours, but less than 2" 
3 "Between 2 and 3 hours, but less than 3" 4 "Between 3 and 4 hours, but less than 4" 5 "Between 4 and 5 hours, but less than 5" 6 "5 hours".
fre ME11_2 tvhours_2.

recode ME11_4 (-1=sysmis) (1=0) (2=1) (3=2) (4=3) (5=4) (6=5) (7=6) into tvhours_4.
variable labels tvhours_4 "Amount of TV last night W4".
value labels tvhours_4 0 "Did not watch TV between 6 and 11 last night" 1 "Less than 1 hour" 2 "Between 1 and 2 hours, but less than 2" 
3 "Between 2 and 3 hours, but less than 3" 4 "Between 3 and 4 hours, but less than 4" 5 "Between 4 and 5 hours, but less than 5" 6 "5 hours".
fre ME11_4 tvhours_4.

recode ME11_5 (-1=sysmis) (1=0) (2=1) (3=2) (4=3) (5=4) (6=5) (7=6) into tvhours_5.
variable labels tvhours_5 "Amount of TV last night W5".
value labels tvhours_5 0 "Did not watch TV between 6 and 11 last night" 1 "Less than 1 hour" 2 "Between 1 and 2 hours, but less than 2" 
3 "Between 2 and 3 hours, but less than 3" 4 "Between 3 and 4 hours, but less than 4" 5 "Between 4 and 5 hours, but less than 5" 6 "5 hours".
fre ME11_5 tvhours_5.

compute tvhoursavg=mean.3(tvhours_2, tvhours_4, tvhours_5).
fre tvhoursavg.
variable labels tvhoursavg "Amount of TV last night W245 avg".


**Dummy Variable: Voted in 2008 election**

fre VP8_5.
recode vp8_5 (1=0) (2=0) (3=0) (4=1) into voted_5.
variable labels voted_5 "Voted in 2008 (W5)".
value labels voted_5 1 "Voted" 0 "Did not vote".
fre voted_5.



******DEPENDENT VARIABLES********



***WAVE 3 VOTE PREFERENCE: Choose between BO and JM (pre-HC withdrawal, Rs also asked about HC vs JM)
*JM=1, BO=2, Undecided=3

missing values vp5_3 ().
freq vp5_3.

recode vp5_3 (1=1) (2=2) (3=-1) (4=-1) (5=3) into votepref_3.
value labels votepref_3 1 "JM" 2 "BO" 3 "Undecided" -1 "third party".
missing values votepref_3  vp5_3 (-1).
freq vp5_3 votepref_3.


***WAVE 4 VOTE PREFERENCE: Choose between BO and JM*
*JM=1, BO=2, Undecided=3
*Includes VP5 and EV3 ("other" includes write-in)*

fre vp5_4 ev3_4.
missing values vp5_4 ev3_4 ().

if vp5_4=1 votepref_4=1.
if vp5_4=2 votepref_4=2.
if vp5_4=3 votepref_4=-1.
if vp5_4=4 votepref_4=-1.
if vp5_4=5 votepref_4=-1.
if vp5_4=6 votepref_4=3.
if ev3_4=1 votepref_4=1.
if ev3_4=2 votepref_4=2.
if ev3_4=3 votepref_4=-1.
if ev3_4=4 votepref_4=-1.
if ev3_4=5 votepref_4=-1.
if ev3_4=6 votepref_4=-1.

value labels votepref_4 1 "McCain" 2 "Obama" 3 "Undecided" -1 "third party".
variable labels votepref_4 "Vote Pref W4 ev3/vp5".
missing values votepref_4 (-1).
freq votepref_4.



**WAVE 5 VOTE PREFERENCE: JM=1, BO=2, Abstain=3**

missing values vp9_5 ().

if vp9_5=1 votepref_5=1.
if vp9_5=2 votepref_5=2.
if vp9_5=3 votepref_5=-1.
if vp9_5=4 votepref_5=-1.
if vp9_5=5 votepref_5=-1.
if voted_5=0 votepref_5=3.
value labels votepref_5 1 "JM" 2 "BO" 3 "Abstained" -1 "third party".
missing values votepref_5 (-1).
missing values vp9_5 (-1,-2).
freq votepref_5 vp9_5.


***CREATING TYPOLOGY OF VOTE PREFERENCE ACROSS THREE WAVES***

Compute vote345=(100*votepref_3) + (10*votepref_4) + (1*votepref_5).
value labels vote345 111 "JM/JM/JM" 112 "JM/JM/BO" 113 "JM/JM/A" 121 "JM/BO/JM" 122 "JM/BO/BO" 123 "JM/BO/A" 131 "JM/U/JM" 132 "JM/U/BO" 
133 "JM/U/A" 211 "BO/JM/JM" 212 "BO/JM/BO" 213 "BO/JM/A" 221 "BO/BO/JM" 222 "BO/BO/BO" 223 "BO/BO/A" 231 "BO/U/JM" 232 "BO/U/BO" 
233 "BO/U/A" 311 "U/JM/JM" 312 "U/JM/BO" 313 "U/JM/A" 321 "U/BO/JM" 322 "U/BO/BO" 323 "U/BO/A" 331 "U/U/JM" 332 "U/U/BO" 333 "U/U/A".
variable labels vote345 "Vote pref in W3, W4, W5".
freq vote345.



***Selecting Rs to be included in the analysis: partisans with a non-third party vote choice (n=9008)

select if (vote345>0).
fre w1partyid.


**********CHANGING VOTERS: CHANGE IN VOTE CHOICE OVER TIME********

**DVs for binary logit models predicting change in vote choice between Waves 3 and 4**
**Excludes W345 non-changers AND abstainers; Includes ALL W34 changers (including W45 non-changers)***
**Party-consistent/inconsistent vote choice coded in terms of W1 party ID**

fre W1partyID Republican_1 Democrat_1.

crosstabs vote345 by W1partyID.

*Wave 3: Consistent or Not*

if vote345=212 and Republican_1=1 W34voteCon_3=0.
if vote345=212 and Democrat_1=1 W34voteCon_3=1.
if vote345=232 and Republican_1=1 W34voteCon_3=0.
if vote345=232 and Democrat_1=1 W34voteCon_3=1.

if vote345=121 and Republican_1=1 W34voteCon_3=1.
if vote345=121 and Democrat_1=1 W34voteCon_3=0.
if vote345=131 and Republican_1=1 W34voteCon_3=1.
if vote345=131 and Democrat_1=1 W34voteCon_3=0.

if vote345=122 and Republican_1=1 W34voteCon_3=1.
if vote345=122 and Democrat_1=1 W34voteCon_3=0.
if vote345=132 and Republican_1=1 W34voteCon_3=1.
if vote345=132 and Democrat_1=1 W34voteCon_3=0.
if vote345=312 and Republican_1=1 W34voteCon_3=0.
if vote345=312 and Democrat_1=1 W34voteCon_3=0.
if vote345=322 and Republican_1=1 W34voteCon_3=0.
if vote345=322 and Democrat_1=1 W34voteCon_3=0.
if vote345=211 and Republican_1=1 W34voteCon_3=0.
if vote345=211 and Democrat_1=1 W34voteCon_3=1.
if vote345=231 and Republican_1=1 W34voteCon_3=0.
if vote345=231 and Democrat_1=1 W34voteCon_3=1.
if vote345=311 and Republican_1=1 W34voteCon_3=0.
if vote345=311 and Democrat_1=1 W34voteCon_3=0.
if vote345=321 and Republican_1=1 W34voteCon_3=0.
if vote345=321 and Democrat_1=1 W34voteCon_3=0.

value labels W34voteCon_3 1 "Consistent" 0 "Not consistent".
fre W34voteCon_3.
variable labels W34voteCon_3 "Party-consistent pref or not W3".


*Wave 3: Inconsistent or Not*

if vote345=212 and Republican_1=1 W34voteIncon_3=1.
if vote345=212 and Democrat_1=1 W34voteIncon_3=0.
if vote345=232 and Republican_1=1 W34voteIncon_3=1.
if vote345=232 and Democrat_1=1 W34voteIncon_3=0.

if vote345=131 and Democrat_1=1 W34voteIncon_3=1.
if vote345=131 and Republican_1=1 W34voteIncon_3=0.
if vote345=121 and Democrat_1=1 W34voteIncon_3=1.
if vote345=121 and Republican_1=1 W34voteIncon_3=0.

if vote345=122 and Republican_1=1 W34voteIncon_3=0.
if vote345=122 and Democrat_1=1 W34voteIncon_3=1.
if vote345=132 and Republican_1=1 W34voteIncon_3=0.
if vote345=132 and Democrat_1=1 W34voteIncon_3=1.
if vote345=312 and Republican_1=1 W34voteIncon_3=0.
if vote345=312 and Democrat_1=1 W34voteIncon_3=0.
if vote345=322 and Republican_1=1 W34voteIncon_3=0.
if vote345=322 and Democrat_1=1 W34voteIncon_3=0.
if vote345=211 and Republican_1=1 W34voteIncon_3=1.
if vote345=211 and Democrat_1=1 W34voteIncon_3=0.
if vote345=231 and Republican_1=1 W34voteIncon_3=1.
if vote345=231 and Democrat_1=1 W34voteIncon_3=0.
if vote345=311 and Republican_1=1 W34voteIncon_3=0.
if vote345=311 and Democrat_1=1 W34voteIncon_3=0.
if vote345=321 and Republican_1=1 W34voteIncon_3=0.
if vote345=321 and Democrat_1=1 W34voteIncon_3=0.

value labels W34voteIncon_3 1 "Inconsistent" 0 "Not inconsistent".
fre W34voteIncon_3.
variable labels W34voteIncon_3 "Party-INconsistent pref or not W3".


*Wave 4: Consistent or Not*

if vote345=212 and Republican_1=1 W34voteCon_4=1.
if vote345=232 and Republican_1=1 W34voteCon_4=0.
if vote345=121 and Democrat_1=1 W34voteCon_4=1.
if vote345=131 and Democrat_1=1 W34voteCon_4=0.
if vote345=121 and Republican_1=1 W34voteCon_4=0.
if vote345=131 and Republican_1=1 W34voteCon_4=0.
if vote345=212 and Democrat_1=1 W34voteCon_4=0.
if vote345=232 and Democrat_1=1 W34voteCon_4=0.

if vote345=122 and Republican_1=1 W34voteCon_4=0.
if vote345=132 and Republican_1=1 W34voteCon_4=0.
if vote345=312 and Republican_1=1 W34voteCon_4=1.
if vote345=322 and Republican_1=1 W34voteCon_4=0.
if vote345=211 and Democrat_1=1 W34voteCon_4=0.
if vote345=231 and Democrat_1=1 W34voteCon_4=0.
if vote345=311 and Democrat_1=1 W34voteCon_4=0.
if vote345=321 and Democrat_1=1 W34voteCon_4=1.
if vote345=311 and Republican_1=1 W34voteCon_4=1.
if vote345=322 and Democrat_1=1 W34voteCon_4=1.
if vote345=211 and Republican_1=1 W34voteCon_4=1.
if vote345=231 and Republican_1=1 W34voteCon_4=0.
if vote345=321 and Republican_1=1 W34voteCon_4=0.
if vote345=122 and Democrat_1=1 W34voteCon_4=1.
if vote345=132 and Democrat_1=1 W34voteCon_4=0.
if vote345=312 and Democrat_1=1 W34voteCon_4=0.

value labels W34voteCon_4 1 "Consistent" 0 "Not consistent".
fre W34voteCon_4.
variable labels W34voteCon_4 "Party-consistent pref or not W4".

*Wave 4: Inconsistent or Not*

if vote345=212 and Republican_1=1 W34voteIncon_4=0.
if vote345=232 and Republican_1=1 W34voteIncon_4=0.
if vote345=121 and Democrat_1=1 W34voteIncon_4=0.
if vote345=131 and Democrat_1=1 W34voteIncon_4=0.
if vote345=121 and Republican_1=1 W34voteIncon_4=1.
if vote345=131 and Republican_1=1 W34voteIncon_4=0.
if vote345=212 and Democrat_1=1 W34voteIncon_4=1.
if vote345=232 and Democrat_1=1 W34voteIncon_4=0.

if vote345=122 and Republican_1=1 W34voteIncon_4=1.
if vote345=132 and Republican_1=1 W34voteIncon_4=0.
if vote345=312 and Republican_1=1 W34voteIncon_4=0.
if vote345=322 and Republican_1=1 W34voteIncon_4=1.
if vote345=211 and Democrat_1=1 W34voteIncon_4=1.
if vote345=231 and Democrat_1=1 W34voteIncon_4=0.
if vote345=311 and Democrat_1=1 W34voteIncon_4=1.
if vote345=321 and Democrat_1=1 W34voteIncon_4=0.
if vote345=311 and Republican_1=1 W34voteIncon_4=0.
if vote345=322 and Democrat_1=1 W34voteIncon_4=0.
if vote345=211 and Republican_1=1 W34voteIncon_4=0.
if vote345=231 and Republican_1=1 W34voteIncon_4=0.
if vote345=321 and Republican_1=1 W34voteIncon_4=1.
if vote345=122 and Democrat_1=1 W34voteIncon_4=0.
if vote345=132 and Democrat_1=1 W34voteIncon_4=0.
if vote345=312 and Democrat_1=1 W34voteIncon_4=1.

value labels W34voteIncon_4 1 "Inconsistent" 0 "Not inconsistent".
fre W34voteIncon_4.
variable labels W34voteIncon_4 "Party-INconsistent pref or not W4".



***CHANGING VOTERS: DVs for binary logit models predicting change in vote choice between Waves 4 and 5**
**Party-consistent/inconsistent vote choice coded in terms of W1 party ID**
**Excludes W345 non-changers AND abstainers; Includes W45 changers (including W34 non-changers)***

*Wave 4: Consistent or Not*

if vote345=212 and Democrat_1=1 W45voteCon_4=0.
if vote345=212 and Republican_1=1 W45voteCon_4=1.
if vote345=232 and Democrat_1=1 W45voteCon_4=0.
if vote345=232 and Republican_1=1 W45voteCon_4=0.
if vote345=121 and Democrat_1=1 W45voteCon_4=1.
if vote345=121 and Republican_1=1 W45voteCon_4=0.
if vote345=131 and Democrat_1=1 W45voteCon_4=0.
if vote345=131 and Republican_1=1 W45voteCon_4=0.

if vote345=112 and Democrat_1=1 W45voteCon_4=0.
if vote345=112 and Republican_1=1 W45voteCon_4=1.
if vote345=132 and Democrat_1=1 W45voteCon_4=0.
if vote345=132 and Republican_1=1 W45voteCon_4=0.
if vote345=312 and Democrat_1=1 W45voteCon_4=0.
if vote345=312 and Republican_1=1 W45voteCon_4=1.
if vote345=332 and Democrat_1=1 W45voteCon_4=0.
if vote345=332 and Republican_1=1 W45voteCon_4=0.

if vote345=221 and Democrat_1=1 W45voteCon_4=1.
if vote345=221 and Republican_1=1 W45voteCon_4=0.
if vote345=231 and Democrat_1=1 W45voteCon_4=0.
if vote345=231 and Republican_1=1 W45voteCon_4=0.
if vote345=321 and Democrat_1=1 W45voteCon_4=1.
if vote345=321 and Republican_1=1 W45voteCon_4=0.
if vote345=331 and Democrat_1=1 W45voteCon_4=0.
if vote345=331 and Republican_1=1 W45voteCon_4=0.

value labels W45voteCon_4 1 "Consistent" 0 "Not consistent".
fre W45voteCon_4.
variable labels W45voteCon_4 "Party-consistent pref or not W4".


***Wave 4: Inconsistent or not***

if vote345=212 and Republican_1=1 W45voteIncon_4=0.
if vote345=232 and Republican_1=1 W45voteIncon_4=0.
if vote345=121 and Democrat_1=1 W45voteIncon_4=0.
if vote345=131 and Democrat_1=1 W45voteIncon_4=0.
if vote345=121 and Republican_1=1 W45voteIncon_4=1.
if vote345=131 and Republican_1=1 W45voteIncon_4=0.
if vote345=212 and Democrat_1=1 W45voteIncon_4=1.
if vote345=232 and Democrat_1=1 W45voteIncon_4=0.

if vote345=112 and Republican_1=1 W45voteIncon_4=0.
if vote345=132 and Republican_1=1 W45voteIncon_4=0.
if vote345=312 and Republican_1=1 W45voteIncon_4=0.
if vote345=332 and Republican_1=1 W45voteIncon_4=0.
if vote345=221 and Democrat_1=1 W45voteIncon_4=0.
if vote345=231 and Democrat_1=1 W45voteIncon_4=0.
if vote345=321 and Democrat_1=1 W45voteIncon_4=0.
if vote345=331 and Democrat_1=1 W45voteIncon_4=0.
if vote345=331 and Republican_1=1 W45voteIncon_4=0.
if vote345=332 and Democrat_1=1 W45voteIncon_4=0.
if vote345=221 and Republican_1=1 W45voteIncon_4=1.
if vote345=231 and Republican_1=1 W45voteIncon_4=0.
if vote345=321 and Republican_1=1 W45voteIncon_4=1.
if vote345=112 and Democrat_1=1 W45voteIncon_4=1.
if vote345=132 and Democrat_1=1 W45voteIncon_4=0.
if vote345=312 and Democrat_1=1 W45voteIncon_4=1.

value labels W45voteIncon_4 1 "Inconsistent" 0 "Not inconsistent".
fre W45voteIncon_4.
variable labels W45voteIncon_4 "Party-INconsistent pref or not W4".



*Wave 5: Consistent or Not*

if vote345=212 and Republican_1=1 W45voteCon_5=0.
if vote345=232 and Republican_1=1 W45voteCon_5=0.
if vote345=121 and Democrat_1=1 W45voteCon_5=0.
if vote345=131 and Democrat_1=1 W45voteCon_5=0.
if vote345=121 and Republican_1=1 W45voteCon_5=1.
if vote345=131 and Republican_1=1 W45voteCon_5=1.
if vote345=212 and Democrat_1=1 W45voteCon_5=1.
if vote345=232 and Democrat_1=1 W45voteCon_5=1.

if vote345=112 and Republican_1=1 W45voteCon_5=0.
if vote345=132 and Republican_1=1 W45voteCon_5=0.
if vote345=312 and Republican_1=1 W45voteCon_5=0.
if vote345=332 and Republican_1=1 W45voteCon_5=0.
if vote345=221 and Democrat_1=1 W45voteCon_5=0.
if vote345=231 and Democrat_1=1 W45voteCon_5=0.
if vote345=321 and Democrat_1=1 W45voteCon_5=0.
if vote345=331 and Democrat_1=1 W45voteCon_5=0.
if vote345=331 and Republican_1=1 W45voteCon_5=1.
if vote345=332 and Democrat_1=1 W45voteCon_5=1.
if vote345=221 and Republican_1=1 W45voteCon_5=1.
if vote345=231 and Republican_1=1 W45voteCon_5=1.
if vote345=321 and Republican_1=1 W45voteCon_5=1.
if vote345=112 and Democrat_1=1 W45voteCon_5=1.
if vote345=132 and Democrat_1=1 W45voteCon_5=1.
if vote345=312 and Democrat_1=1 W45voteCon_5=1.

value labels W45voteCon_5 1 "Consistent" 0 "Not consistent".
fre W45voteCon_5.
variable labels W45voteCon_5 "Party-consistent pref or not W5".


***Wave 5: Inconsistent or not***

if vote345=212 and Republican_1=1 W45voteIncon_5=1.
if vote345=232 and Republican_1=1 W45voteIncon_5=1.
if vote345=121 and Democrat_1=1 W45voteIncon_5=1.
if vote345=131 and Democrat_1=1 W45voteIncon_5=1.
if vote345=121 and Republican_1=1 W45voteIncon_5=0.
if vote345=131 and Republican_1=1 W45voteIncon_5=0.
if vote345=212 and Democrat_1=1 W45voteIncon_5=0.
if vote345=232 and Democrat_1=1 W45voteIncon_5=0.

if vote345=112 and Republican_1=1 W45voteIncon_5=1.
if vote345=132 and Republican_1=1 W45voteIncon_5=1.
if vote345=312 and Republican_1=1 W45voteIncon_5=1.
if vote345=332 and Republican_1=1 W45voteIncon_5=1.
if vote345=221 and Democrat_1=1 W45voteIncon_5=1.
if vote345=231 and Democrat_1=1 W45voteIncon_5=1.
if vote345=321 and Democrat_1=1 W45voteIncon_5=1.
if vote345=331 and Democrat_1=1 W45voteIncon_5=1.
if vote345=331 and Republican_1=1 W45voteIncon_5=0.
if vote345=332 and Democrat_1=1 W45voteIncon_5=0.
if vote345=221 and Republican_1=1 W45voteIncon_5=0.
if vote345=231 and Republican_1=1 W45voteIncon_5=0.
if vote345=321 and Republican_1=1 W45voteIncon_5=0.
if vote345=112 and Democrat_1=1 W45voteIncon_5=0.
if vote345=132 and Democrat_1=1 W45voteIncon_5=0.
if vote345=312 and Democrat_1=1 W45voteIncon_5=0.

value labels W45voteIncon_5 1 "Inconsistent" 0 "Not inconsistent".
fre W45voteIncon_5.
variable labels W45voteIncon_5 "Party-INconsistent pref or not W5".



***Dummy variable identifying constant voters***

fre vote345.

if vote345=111 or vote345=222 W345nochange=1.
if vote345 ne 111 and vote345 ne 222 W345nochange=0.
if vote345=333 w345nochange=-1.
value labels W345nochange 0 "Changed vote" 1 "Constant vote" -1 "U/U/A".
variable labels W345nochange "Constant vote choice or not (excl. 3rd party)".
missing values W345nochange (-1).
fre W345nochange.




***CONSTANT VOTERS: WAVE 3-4 CHANGE IN FAVORABILITY TOWARD PREFERRED CANDIDATE AND OPPOSED CANDIDATE***

***Thermometer Ratings***

*Wave 3*

compute BOther_3=NRL3E_3.
if (NRL3E_DK1_3=1) BOther_3=-99.
if (NRL3E_DK2_3=1) BOther_3=-99.
value labels BOther_3 -99 "DK who person is or DK enough about him/her" -1 "Refused".
variable labels BOther_3 "Barack Obama feeling ther W3".
missing values BOther_3 (-99, -1).

freq nrl3E_3 nrl3e_dk1_3 nrl3E_dk2_3 BOther_3.

compute JMther_3=NRL3I_3.
if (NRL3I_DK1_3=1) JMther_3=-99.
if (NRL3I_DK2_3=1) JMther_3=-99.
value labels JMther_3 -99 "DK who person is or DK enough about him/her" -1 "Refused".
variable labels JMther_3 "John McCain feeling ther W3".
missing values JMther_3 (-99, -1).

freq nrl3I_3 nrl3I_dk1_3 nrl3I_dk2_3 JMther_3.


*Wave 4*


compute BOther_4=NRL3E_4.
if (NRL3E_DK1_4=1) BOther_4=-99.
if (NRL3E_DK2_4=1) BOther_4=-99.
value labels BOther_4 -99 "DK who person is or DK enough about him/her" -1 "Refused".
variable labels BOther_4 "Barack Obama feeling ther W4".
missing values BOther_4 (-99, -1).

freq nrl3E_4 nrl3e_dk1_4 nrl3E_dk2_4 BOther_4.

compute JMther_4=NRL3I_4.
if (NRL3I_DK1_4=1) JMther_4=-99.
if (NRL3I_DK2_4=1) JMther_4=-99.
value labels JMther_4 -99 "DK who person is or DK enough about him/her" -1 "Refused".
variable labels JMther_4 "John McCain feeling ther W4".
missing values JMther_4 (-99, -1).

freq nrl3I_4 nrl3I_dk1_4 nrl3I_dk2_4 JMther_4.


**Variables to run models predicting change in therms toward own and opposing party's candidates individually**
*Among constant voters*

recode JMther_3 (-99=sysmis) (-1=sysmis) (else=copy) into JMtherR_3.
variable labels JMtherR_3 "W3 JM ther, DK/ref coded sysmis".
fre JMtherR_3.

recode BOther_3 (-99=sysmis) (-1=sysmis) (else=copy) into BOtherR_3.
variable labels BOtherR_3 "W3 BO ther, DK/ref coded sysmis".
fre BOtherR_3.

recode JMther_4 (-99=sysmis) (-1=sysmis) (else=copy) into JMtherR_4.
variable labels JMtherR_4 "W4 JM ther, DK/ref coded sysmis".
fre JMtherR_4.

recode BOther_4 (-99=sysmis) (-1=sysmis) (else=copy) into BOtherR_4.
variable labels BOtherR_4 "W4 BO ther, DK/ref coded sysmis".
fre BOtherR_4.


***Wave 3***

***Thermometer for preferred candidate (the candidate the constant voter supported)***

fre JMther_3 JMther_4 BOther_3 BOther_4.

do if (vote345=111).
compute thermconsist_3=JMther_3.
end if.
fre thermconsist_3.

do if (vote345=222).
compute thermconsist_3=BOther_3.
end if.
fre thermconsist_3.
variable labels thermconsist_3 "Therm for preferred cand. W3".


***Thermometer for OPPOSED candidate (the candidate the constant voter did NOT support)***

do if (vote345=111).
compute therminconsist_3=BOther_3.
end if.
fre therminconsist_3.

do if (vote345=222).
compute therminconsist_3=JMther_3.
end if.
fre therminconsist_3.
variable labels therminconsist_3 "Therm for opposed cand. W3".




***Wave 4***

***Thermometer for preferred candidate (the candidate the constant voter supported) ***

do if (vote345=111).
compute thermconsist_4=JMther_4.
end if.
fre thermconsist_4.

do if (vote345=222).
compute thermconsist_4=BOther_4.
end if.
fre thermconsist_4.
variable labels thermconsist_4 "Therm for preferred cand. W4".


***Thermometer for OPPOSED candidate (the candidate the constant voter did NOT support)***

do if (vote345=111).
compute therminconsist_4=BOther_4.
end if.
fre therminconsist_4.

do if (vote345=222).
compute therminconsist_4=JMther_4.
end if.
fre therminconsist_4.
variable labels therminconsist_4 "Therm for opposed cand. W4".



***Variable to identify constant voters who voted for own party vs. opposing party***

if Democrat_1=1 and vote345=222 ownpartyvote=1.
if Republican_1=1 and vote345=111 ownpartyvote=1.
if Democrat_1=1 and vote345=111 ownpartyvote=0.
if Republican_1=1 and vote345=222 ownpartyvote=0.

if Democrat_1=1 and vote345=222 opppartyvote=0.
if Republican_1=1 and vote345=111 opppartyvote=0.
if Democrat_1=1 and vote345=111 opppartyvote=1.
if Republican_1=1 and vote345=222 opppartyvote=1.

variable labels ownpartyvote "Constant vote choice for own party's candidate".
variable labels opppartyvote "Constant vote choice for opposing party's candidate".
fre ownpartyvote opppartyvote.







*****FOR INDEPENDENT VARIABLES*****

***WAVE 2: RECODING EXPOSURE TO EACH TELEVISION PROGRAM -- coded 1 for watched; 0 for "not watched" or "not asked"***

FREQUENCIES VARIABLES=ME2A_2_2 ME2A_3_2 ME2A_4_2 ME2A_5_2 ME2A_6_2 ME2A_7_2 ME2A_8_2 ME2A_9_2 
    ME2A_10_2 ME2A_11_2 ME2A_12_2 ME2A_14_2  ME2A_16_2 ME2A_17_2 ME2B_1_2 
    ME2B_3_2 ME2B_4_2 ME2B_6_2 ME2B_7_2 ME2B_9_2 ME2B_10_2 ME2B_11_2 ME2B_12_2 
    ME2B_13_2  ME2B_15_2 ME2B_16_2 ME2B_17_2 ME4A_1_2 ME4A_2_2  ME4A_4_2 
    ME4A_7_2 ME4A_8_2 ME4A_9_2 ME4A_10_2 ME4A_11_2 ME4A_12_2 ME4A_13_2 ME4A_14_2 ME4A_15_2 
    ME4A_16_2  ME4B_2_2 ME4B_5_2  ME4B_7_2 ME4B_8_2 ME4B_9_2 
    ME4B_10_2 ME4B_12_2 ME4B_13_2 ME4B_14_2 ME4B_15_2 ME4B_16_2 ME4B_17_2 ME6A_1_2 ME6A_2_2 
    ME6A_3_2 ME6A_4_2 ME6A_5_2 ME6A_6_2 ME6A_7_2 ME6A_8_2 ME6A_9_2 ME6A_10_2 ME6A_11_2 ME6A_12_2 
    ME6A_13_2 ME6A_14_2 ME6A_15_2 ME6A_16_2 ME6A_17_2
  /ORDER=ANALYSIS.

compute nightline_2=me2a_2_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_2_2 /TARGET VARIABLES=nightline_2. 
freq me2a_2_2 nightline_2.
recode nightline_2 (1=1) (0=0) (missing=0) into nightline_2.
freq nightline_2.

compute abcworldnews_2=me2a_3_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_3_2 /TARGET VARIABLES=abcworldnews_2. 
freq me2a_3_2 abcworldnews_2.
recode abcworldnews_2 (1=1) (0=0) (missing=0) into abcworldnews_2.
freq abcworldnews_2.

compute todayshow_2=me2a_4_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_4_2 /TARGET VARIABLES=todayshow_2. 
freq me2a_4_2 todayshow_2.
recode todayshow_2 (1=1) (0=0) (missing=0) into todayshow_2.
freq todayshow_2.

compute nbcnightlynews_2=me2a_5_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_5_2 /TARGET VARIABLES=nbcnightlynews_2. 
freq me2a_5_2 nbcnightlynews_2.
recode nbcnightlynews_2 (1=1) (0=0) (missing=0) into nbcnightlynews_2.
freq nbcnightlynews_2.

compute lehrer_2=me2a_6_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_6_2 /TARGET VARIABLES=lehrer_2. 
freq me2a_6_2 lehrer_2.
recode lehrer_2 (1=1) (0=0) (missing=0) into lehrer_2.
freq lehrer_2.

compute BETnews_2=me2a_7_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_7_2 /TARGET VARIABLES=BETnews_2. 
freq me2a_7_2 BETnews_2.
recode betnews_2 (1=1) (0=0) (missing=0) into betnews_2.
freq betnews_2.

compute FOXnews_2=me2a_8_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_8_2 /TARGET VARIABLES=FOXnews_2. 
freq me2a_8_2 FOXnews_2.
recode foxnews_2 (1=1) (0=0) (missing=0) into foxnews_2.
freq foxnews_2.

compute goodmornamer_2=me2a_9_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_9_2 /TARGET VARIABLES=goodmornamer_2. 
freq me2a_9_2 goodmornamer_2.
recode goodmornamer_2 (1=1) (0=0) (missing=0) into goodmornamer_2.
freq goodmornamer_2.

compute cbseveningnews_2=me2a_10_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_10_2 /TARGET VARIABLES=cbseveningnews_2. 
freq me2a_10_2 cbseveningnews_2.
recode cbseveningnews_2 (1=1) (0=0) (missing=0) into cbseveningnews_2.
freq cbseveningnews_2.

compute cbsmorningnews_2=me2a_11_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_11_2 /TARGET VARIABLES=cbsmorningnews_2. 
freq me2a_11_2 cbsmorningnews_2.
recode cbsmorningnews_2 (1=1) (0=0) (missing=0) into cbsmorningnews_2.
freq cbsmorningnews_2.

compute cnnheadline_2=me2a_12_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_12_2 /TARGET VARIABLES=cnnheadline_2. 
freq me2a_12_2 cnnheadline_2.
recode cnnheadline_2 (1=1) (0=0) (missing=0) into cnnheadline_2.
freq cnnheadline_2.

compute leno_2=ME2A_13_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2A_13_2 /TARGET VARIABLES=leno_2. 
freq ME2A_13_2 leno_2.
recode leno_2 (1=1) (0=0) (missing=0) into leno_2.
freq leno_2.

compute amerthismorn_2=me2a_14_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a_14_2 /TARGET VARIABLES=amerthismorn_2. 
freq me2a_14_2 amerthismorn_2.
recode amerthismorn_2 (1=1) (0=0) (missing=0) into amerthismorn_2.
freq amerthismorn_2.

compute dailyshow_2=ME2A_15_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2A_15_2 /TARGET VARIABLES=dailyshow_2. 
freq ME2A_15_2 dailyshow_2.
recode dailyshow_2 (1=1) (0=0) (missing=0) into dailyshow_2.
freq dailyshow_2.

compute sixtymins_2=me2b_1_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_1_2 /TARGET VARIABLES=sixtymins_2. 
freq me2b_1_2 sixtymins_2.
recode sixtymins_2 (1=1) (0=0) (missing=0) into sixtymins_2.
freq sixtymins_2.

compute letterman_2=ME2B_2_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2B_2_2 /TARGET VARIABLES=letterman_2. 
freq ME2B_2_2 letterman_2.
recode letterman_2 (1=1) (0=0) (missing=0) into letterman_2.
freq letterman_2.

compute oreillyfactor_2=me2b_3_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_3_2 /TARGET VARIABLES=oreillyfactor_2. 
freq me2b_3_2 oreillyfactor_2.
recode oreillyfactor_2 (1=1) (0=0) (missing=0) into oreillyfactor_2.
freq oreillyfactor_2.

compute earlyshow_2=me2b_4_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_4_2 /TARGET VARIABLES=earlyshow_2. 
freq me2b_4_2 earlyshow_2.
recode earlyshow_2 (1=1) (0=0) (missing=0) into earlyshow_2.
freq earlyshow_2.

compute ellen_2=ME2B_5_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2B_5_2 /TARGET VARIABLES=ellen_2. 
freq ME2B_5_2 ellen_2.
recode ellen_2 (1=1) (0=0) (missing=0) into ellen_2.
freq ellen_2.

compute facenation_2=me2b_6_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_6_2 /TARGET VARIABLES=facenation_2. 
freq me2b_6_2 facenation_2.
recode facenation_2 (1=1) (0=0) (missing=0) into facenation_2.
freq facenation_2.

compute foxandfriends_2=me2b_7_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_7_2 /TARGET VARIABLES=foxandfriends_2. 
freq me2b_7_2 foxandfriends_2.
recode foxandfriends_2 (1=1) (0=0) (missing=0) into foxandfriends_2.
freq foxandfriends_2.

compute frontline_2=me2b_9_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_9_2 /TARGET VARIABLES=frontline_2. 
freq me2b_9_2 frontline_2.
recode frontline_2 (1=1) (0=0) (missing=0) into frontline_2.
freq frontline_2.

compute hannitycolmes_2=me2b_10_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_10_2 /TARGET VARIABLES=hannitycolmes_2. 
freq me2b_10_2 hannitycolmes_2.
recode hannitycolmes_2 (1=1) (0=0) (missing=0) into hannitycolmes_2.
freq hannitycolmes_2.

compute hannityamer_2=me2b_11_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_11_2 /TARGET VARIABLES=hannityamer_2. 
freq me2b_11_2 hannityamer_2.
recode hannityamer_2 (1=1) (0=0) (missing=0) into hannityamer_2.
freq hannityamer_2.

compute hardball_2=me2b_12_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_12_2 /TARGET VARIABLES=hardball_2. 
freq me2b_12_2 hardball_2.
recode hardball_2 (1=1) (0=0) (missing=0) into hardball_2.
freq hardball_2.

compute latewolfblitzer_2=me2b_15_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b_15_2 /TARGET VARIABLES=latewolfblitzer_2. 
freq me2b_15_2 latewolfblitzer_2.
recode latewolfblitzer_2 (1=1) (0=0) (missing=0) into latewolfblitzer_2.
freq latewolfblitzer_2.

compute meetpress_2=me4a_1_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_1_2 /TARGET VARIABLES=meetpress_2. 
freq me4a_1_2 meetpress_2.
recode meetpress_2 (1=1) (0=0) (missing=0) into meetpress_2.
freq meetpress_2.

compute msnbclive_2=me4a_2_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_2_2 /TARGET VARIABLES=msnbclive_2. 
freq me4a_2_2 msnbclive_2.
recode msnbclive_2 (1=1) (0=0) (missing=0) into msnbclive_2.
freq msnbclive_2.

compute outinopen_2=me4a_4_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_4_2 /TARGET VARIABLES=outinopen_2. 
freq me4a_4_2 outinopen_2.
recode outinopen_2 (1=1) (0=0) (missing=0) into outinopen_2.
freq outinopen_2.

compute oprah_2=ME4A_5_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME4A_5_2 /TARGET VARIABLES=oprah_2. 
freq ME4A_5_2 oprah_2.
recode oprah_2 (1=1) (0=0) (missing=0) into oprah_2.
freq oprah_2.

compute situationroom_2=me4a_7_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_7_2 /TARGET VARIABLES=situationroom_2. 
freq me4a_7_2 situationroom_2.
recode situationroom_2 (1=1) (0=0) (missing=0) into situationroom_2.
freq situationroom_2.

compute brithume_2=me4a_8_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_8_2 /TARGET VARIABLES=brithume_2. 
freq me4a_8_2 brithume_2.
recode brithume_2 (1=1) (0=0) (missing=0) into brithume_2.
freq brithume_2.

compute larryking_2=me4a_9_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_9_2 /TARGET VARIABLES=larryking_2. 
freq me4a_9_2 larryking_2.
recode larryking_2 (1=1) (0=0) (missing=0) into larryking_2.
freq larryking_2.

compute cbssundaymorn_2=me4a_10_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_10_2 /TARGET VARIABLES=cbssundaymorn_2. 
freq me4a_10_2 cbssundaymorn_2.
recode cbssundaymorn_2 (1=1) (0=0) (missing=0) into cbssundaymorn_2.
freq cbssundaymorn_2.

compute beltwayboys_2=me4a_11_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_11_2 /TARGET VARIABLES=beltwayboys_2. 
freq me4a_11_2 beltwayboys_2.
recode beltwayboys_2 (1=1) (0=0) (missing=0) into beltwayboys_2.
freq beltwayboys_2.

compute twentytwenty_2=me4a_13_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_13_2 /TARGET VARIABLES=twentytwenty_2. 
freq me4a_13_2 twentytwenty_2.
recode twentytwenty_2 (1=1) (0=0) (missing=0) into twentytwenty_2.
freq twentytwenty_2.

compute foxshepardsmith_2=me4a_14_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a_14_2 /TARGET VARIABLES=foxshepardsmith_2. 
freq me4a_14_2 foxshepardsmith_2.
recode foxshepardsmith_2 (1=1) (0=0) (missing=0) into foxshepardsmith_2.
freq foxshepardsmith_2.

compute georgestephan_2=me4b_2_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_2_2 /TARGET VARIABLES=georgestephan_2. 
freq me4b_2_2 georgestephan_2.
recode georgestephan_2 (1=1) (0=0) (missing=0) into georgestephan_2.
freq georgestephan_2.

compute theview_2=ME4B_3_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME4B_3_2 /TARGET VARIABLES=theview_2. 
freq ME4B_3_2 theview_2.
recode theview_2 (1=1) (0=0) (missing=0) into theview_2.
freq theview_2.

compute loudobbs_2=me4b_5_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_5_2 /TARGET VARIABLES=loudobbs_2. 
freq me4b_5_2 loudobbs_2.
recode loudobbs_2 (1=1) (0=0) (missing=0) into loudobbs_2.
freq loudobbs_2.

compute colbert_2=ME4B_6_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME4B_6_2 /TARGET VARIABLES=colbert_2. 
freq ME4B_6_2 colbert_2.
recode colbert_2 (1=1) (0=0) (missing=0) into colbert_2.
freq colbert_2.

compute andersoncooper_2=me4b_7_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_7_2 /TARGET VARIABLES=andersoncooper_2. 
freq me4b_7_2 andersoncooper_2.
recode andersoncooper_2 (1=1) (0=0) (missing=0) into andersoncooper_2.
freq andersoncooper_2.

compute geraldo_2=me4b_8_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_8_2 /TARGET VARIABLES=geraldo_2. 
freq me4b_8_2 geraldo_2.
recode geraldo_2 (1=1) (0=0) (missing=0) into geraldo_2.
freq geraldo_2.

compute olbermann_2=me4b_9_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_9_2 /TARGET VARIABLES=olbermann_2. 
freq me4b_9_2 olbermann_2.
recode olbermann_2 (1=1) (0=0) (missing=0) into olbermann_2.
freq olbermann_2.

compute datelinenbc_2=me4b_10_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_10_2 /TARGET VARIABLES=datelinenbc_2. 
freq me4b_10_2 datelinenbc_2.
recode datelinenbc_2 (1=1) (0=0) (missing=0) into datelinenbc_2.
freq datelinenbc_2.

compute studiobshepsmith_2=me4b_12_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_12_2 /TARGET VARIABLES=studiobshepsmith_2. 
freq me4b_12_2 studiobshepsmith_2.
recode studiobshepsmith_2 (1=1) (0=0) (missing=0) into studiobshepsmith_2.
freq studiobshepsmith_2.

compute reliablesources_2=me4b_13_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_13_2 /TARGET VARIABLES=reliablesources_2. 
freq me4b_13_2 reliablesources_2.
recode reliablesources_2 (1=1) (0=0) (missing=0) into reliablesources_2.
freq reliablesources_2.

compute neilcavuto_2=me4b_14_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_14_2 /TARGET VARIABLES=neilcavuto_2. 
freq me4b_14_2 neilcavuto_2.
recode neilcavuto_2 (1=1) (0=0) (missing=0) into neilcavuto_2.
freq neilcavuto_2.

compute mclaughlingroup_2=me4b_15_2.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b_15_2 /TARGET VARIABLES=mclaughlingroup_2. 
freq me4b_15_2 mclaughlingroup_2.
recode mclaughlingroup_2 (1=1) (0=0) (missing=0) into mclaughlingroup_2.
freq mclaughlingroup_2.


value labels nightline_2 abcworldnews_2 todayshow_2 nbcnightlynews_2 lehrer_2 betnews_2 foxnews_2 goodmornamer_2
cbseveningnews_2 cbsmorningnews_2 cnnheadline_2 amerthismorn_2 dailyshow_2 oreillyfactor_2 earlyshow_2 facenation_2 foxandfriends_2
frontline_2 hannitycolmes_2 hannityamer_2 hardball_2 latewolfblitzer_2 meetpress_2 msnbclive_2 outinopen_2
situationroom_2 brithume_2 larryking_2 cbssundaymorn_2 beltwayboys_2 foxshepardsmith_2 georgestephan_2 theview_2 loudobbs_2
colbert_2 andersoncooper_2 geraldo_2 olbermann_2 datelinenbc_2 studiobshepsmith_2 reliablesources_2 neilcavuto_2 mclaughlingroup_2
sixtymins_2 twentytwenty_2 leno_2 letterman_2 ellen_2 oprah_2 1 "Watched" 0 "Did not watch".

***TOTAL NUMBER OF TV PROGRAMS WATCHED -- including Rs who were not asked program items (coded as 0)***

**WAVE 2**

count numbertv_2=nightline_2 abcworldnews_2 todayshow_2 nbcnightlynews_2 lehrer_2 betnews_2 foxnews_2 goodmornamer_2
cbseveningnews_2 cbsmorningnews_2 cnnheadline_2 amerthismorn_2 dailyshow_2 oreillyfactor_2 earlyshow_2 facenation_2 foxandfriends_2
frontline_2 hannitycolmes_2 hannityamer_2 hardball_2 latewolfblitzer_2 meetpress_2 msnbclive_2 outinopen_2
situationroom_2 brithume_2 larryking_2 cbssundaymorn_2 beltwayboys_2 foxshepardsmith_2 georgestephan_2 theview_2 loudobbs_2
colbert_2 andersoncooper_2 geraldo_2 olbermann_2 datelinenbc_2 studiobshepsmith_2 reliablesources_2 neilcavuto_2 mclaughlingroup_2
sixtymins_2 twentytwenty_2 (1).
variable labels numbertv_2 "Number of TV News Programs Watched w2".
freq numbertv_2.

****PROGRAM PARTISANSHIP****

count numconTV_2=foxnews_2 foxshepardsmith_2 hannitycolmes_2 oreillyfactor_2 brithume_2 
hannityamer_2 beltwayboys_2 studiobshepsmith_2 geraldo_2  neilcavuto_2 foxandfriends_2 (1).
freq numcontv_2.

count numlibTV_2=andersoncooper_2 olbermann_2 hardball_2 cnnheadline_2 nightline_2 situationroom_2 dailyshow_2 
goodmornamer_2 georgestephan_2 theview_2 colbert_2 latewolfblitzer_2 msnbclive_2 outinopen_2 betnews_2 (1).
freq numlibtv_2.

count numneuTV_2=abcworldnews_2 cbseveningnews_2 loudobbs_2 nbcnightlynews_2 meetpress_2 todayshow_2 
 lehrer_2 larryking_2 sixtymins_2 facenation_2  reliablesources_2 earlyshow_2 frontline_2 cbssundaymorn_2  twentytwenty_2 
datelinenbc_2 mclaughlingroup_2 cbsmorningnews_2 amerthismorn_2 (1).
freq numneutv_2.


**PROPORTION NEUTRAL PROGRAMS**


do if (numbertv_2>0).
compute propneutv_2=numneutv_2/numbertv_2.
end if.
freq propneutv_2.

do if (numbertv_2=0).
compute propneutv_2=0.
end if.
freq propneutv_2.

variable labels propneutv_2 "Prop neutral w2".


***WAVE 4: RECODING EXPOSURE TO EACH TELEVISION PROGRAM -- coded 1 for watched; 0 for "not watched" or "not asked"***


compute nightline_4=me2a02_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a02_4 /TARGET VARIABLES=nightline_4. 
freq me2a02_4 nightline_4.
recode nightline_4 (1=1) (0=0) (missing=0) into nightline_4.
freq nightline_4.

compute abcworldnews_4=me2a03_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a03_4 /TARGET VARIABLES=abcworldnews_4. 
freq me2a03_4 abcworldnews_4.
recode abcworldnews_4 (1=1) (0=0) (missing=0) into abcworldnews_4.
freq abcworldnews_4.

compute todayshow_4=me2a04_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a04_4 /TARGET VARIABLES=todayshow_4. 
freq me2a04_4 todayshow_4.
recode todayshow_4 (1=1) (0=0) (missing=0) into todayshow_4.
freq todayshow_4.

compute nbcnightlynews_4=me2a05_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a05_4 /TARGET VARIABLES=nbcnightlynews_4. 
freq me2a05_4 nbcnightlynews_4.
recode nbcnightlynews_4 (1=1) (0=0) (missing=0) into nbcnightlynews_4.
freq nbcnightlynews_4.

compute lehrer_4=me2a06_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a06_4 /TARGET VARIABLES=lehrer_4. 
freq me2a06_4 lehrer_4.
recode lehrer_4 (1=1) (0=0) (missing=0) into lehrer_4.
freq lehrer_4.

compute BETnews_4=me2a07_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a07_4 /TARGET VARIABLES=BETnews_4. 
freq me2a07_4 BETnews_4.
recode betnews_4 (1=1) (0=0) (missing=0) into betnews_4.
freq betnews_4.

compute FOXnews_4=me2a08_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a08_4 /TARGET VARIABLES=FOXnews_4. 
freq me2a08_4 FOXnews_4.
recode foxnews_4 (1=1) (0=0) (missing=0) into foxnews_4.
freq foxnews_4.

compute goodmornamer_4=me2a09_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a09_4 /TARGET VARIABLES=goodmornamer_4. 
freq me2a09_4 goodmornamer_4.
recode goodmornamer_4 (1=1) (0=0) (missing=0) into goodmornamer_4.
freq goodmornamer_4.

compute cbseveningnews_4=me2a10_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a10_4 /TARGET VARIABLES=cbseveningnews_4. 
freq me2a10_4 cbseveningnews_4.
recode cbseveningnews_4 (1=1) (0=0) (missing=0) into cbseveningnews_4.
freq cbseveningnews_4.

compute cbsmorningnews_4=me2a11_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a11_4 /TARGET VARIABLES=cbsmorningnews_4. 
freq me2a11_4 cbsmorningnews_4.
recode cbsmorningnews_4 (1=1) (0=0) (missing=0) into cbsmorningnews_4.
freq cbsmorningnews_4.

compute cnnheadline_4=me2a12_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a12_4 /TARGET VARIABLES=cnnheadline_4. 
freq me2a12_4 cnnheadline_4.
recode cnnheadline_4 (1=1) (0=0) (missing=0) into cnnheadline_4.
freq cnnheadline_4.

compute leno_4=ME2A13_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2A13_4 /TARGET VARIABLES=leno_4. 
freq ME2A13_4 leno_4.
recode leno_4 (1=1) (0=0) (missing=0) into leno_4.
freq leno_4.

compute amerthismorn_4=me2a14_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a14_4 /TARGET VARIABLES=amerthismorn_4. 
freq me2a14_4 amerthismorn_4.
recode amerthismorn_4 (1=1) (0=0) (missing=0) into amerthismorn_4.
freq amerthismorn_4.

compute dailyshow_4=ME2A15_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2A15_4 /TARGET VARIABLES=dailyshow_4. 
freq ME2A15_4 dailyshow_4.
recode dailyshow_4 (1=1) (0=0) (missing=0) into dailyshow_4.
freq dailyshow_4.

compute sixtymins_4=me2b01_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b01_4 /TARGET VARIABLES=sixtymins_4. 
freq me2b01_4 sixtymins_4.
recode sixtymins_4 (1=1) (0=0) (missing=0) into sixtymins_4.
freq sixtymins_4.

compute letterman_4=ME2B02_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2B02_4 /TARGET VARIABLES=letterman_4. 
freq letterman_4 ME2B02_4.
recode letterman_4 (1=1) (0=0) (missing=0) into letterman_4.
freq letterman_4.

compute oreillyfactor_4=me2b03_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b03_4 /TARGET VARIABLES=oreillyfactor_4. 
freq me2b03_4 oreillyfactor_4.
recode oreillyfactor_4 (1=1) (0=0) (missing=0) into oreillyfactor_4.
freq oreillyfactor_4.

compute earlyshow_4=me2b04_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b04_4 /TARGET VARIABLES=earlyshow_4. 
freq me2b04_4 earlyshow_4.
recode earlyshow_4 (1=1) (0=0) (missing=0) into earlyshow_4.
freq earlyshow_4.

compute ellen_4=ME2B05_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2B05_4 /TARGET VARIABLES=ellen_4. 
freq ME2B05_4 ellen_4.
recode ellen_4 (1=1) (0=0) (missing=0) into ellen_4.
freq ellen_4.

compute facenation_4=me2b06_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b06_4 /TARGET VARIABLES=facenation_4. 
freq me2b06_4 facenation_4.
recode facenation_4 (1=1) (0=0) (missing=0) into facenation_4.
freq facenation_4.

compute foxandfriends_4=me2b07_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b07_4 /TARGET VARIABLES=foxandfriends_4. 
freq me2b07_4 foxandfriends_4.
recode foxandfriends_4 (1=1) (0=0) (missing=0) into foxandfriends_4.
freq foxandfriends_4.

compute frontline_4=me2b09_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b09_4 /TARGET VARIABLES=frontline_4. 
freq me2b09_4 frontline_4.
recode frontline_4 (1=1) (0=0) (missing=0) into frontline_4.
freq frontline_4.

compute hannitycolmes_4=me2b10_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b10_4 /TARGET VARIABLES=hannitycolmes_4. 
freq me2b10_4 hannitycolmes_4.
recode hannitycolmes_4 (1=1) (0=0) (missing=0) into hannitycolmes_4.
freq hannitycolmes_4.

compute hannityamer_4=me2b11_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b11_4 /TARGET VARIABLES=hannityamer_4. 
freq me2b11_4 hannityamer_4.
recode hannityamer_4 (1=1) (0=0) (missing=0) into hannityamer_4.
freq hannityamer_4.

compute hardball_4=me2b12_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b12_4 /TARGET VARIABLES=hardball_4. 
freq me2b12_4 hardball_4.
recode hardball_4 (1=1) (0=0) (missing=0) into hardball_4.
freq hardball_4.

compute latewolfblitzer_4=me2b14_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b14_4 /TARGET VARIABLES=latewolfblitzer_4. 
freq me2b14_4 latewolfblitzer_4.
recode latewolfblitzer_4 (1=1) (0=0) (missing=0) into latewolfblitzer_4.
freq latewolfblitzer_4.

compute meetpress_4=me4a01_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a01_4 /TARGET VARIABLES=meetpress_4. 
freq me4a01_4 meetpress_4.
recode meetpress_4 (1=1) (0=0) (missing=0) into meetpress_4.
freq meetpress_4.

compute msnbclive_4=me4a02_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a02_4 /TARGET VARIABLES=msnbclive_4. 
freq me4a02_4 msnbclive_4.
recode msnbclive_4 (1=1) (0=0) (missing=0) into msnbclive_4.
freq msnbclive_4.

compute outinopen_4=me4a04_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a04_4 /TARGET VARIABLES=outinopen_4. 
freq me4a04_4 outinopen_4.
recode outinopen_4 (1=1) (0=0) (missing=0) into outinopen_4.
freq outinopen_4.

compute oprah_4=ME4A05_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME4A05_4 /TARGET VARIABLES=oprah_4. 
freq ME4A05_4 oprah_4.
recode oprah_4 (1=1) (0=0) (missing=0) into oprah_4.
freq oprah_4.

compute situationroom_4=me4a07_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a07_4 /TARGET VARIABLES=situationroom_4. 
freq me4a07_4 situationroom_4.
recode situationroom_4 (1=1) (0=0) (missing=0) into situationroom_4.
freq situationroom_4.

compute brithume_4=me4a08_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a08_4 /TARGET VARIABLES=brithume_4. 
freq me4a08_4 brithume_4.
recode brithume_4 (1=1) (0=0) (missing=0) into brithume_4.
freq brithume_4.

compute larryking_4=me4a09_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a09_4 /TARGET VARIABLES=larryking_4. 
freq me4a09_4 larryking_4.
recode larryking_4 (1=1) (0=0) (missing=0) into larryking_4.
freq larryking_4.

compute cbssundaymorn_4=me4a10_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a10_4 /TARGET VARIABLES=cbssundaymorn_4. 
freq me4a10_4 cbssundaymorn_4.
recode cbssundaymorn_4 (1=1) (0=0) (missing=0) into cbssundaymorn_4.
freq cbssundaymorn_4.

compute beltwayboys_4=me4a11_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a11_4 /TARGET VARIABLES=beltwayboys_4. 
freq me4a11_4 beltwayboys_4.
recode beltwayboys_4 (1=1) (0=0) (missing=0) into beltwayboys_4.
freq beltwayboys_4.

compute twentytwenty_4=me4a12_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a12_4 /TARGET VARIABLES=twentytwenty_4. 
freq me4a12_4 twentytwenty_4.
recode twentytwenty_4 (1=1) (0=0) (missing=0) into twentytwenty_4.
freq twentytwenty_4.

compute foxshepardsmith_4=me4a13_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a13_4 /TARGET VARIABLES=foxshepardsmith_4. 
freq me4a13_4 foxshepardsmith_4.
recode foxshepardsmith_4 (1=1) (0=0) (missing=0) into foxshepardsmith_4.
freq foxshepardsmith_4.

compute georgestephan_4=me4b02_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b02_4 /TARGET VARIABLES=georgestephan_4. 
freq me4b02_4 georgestephan_4.
recode georgestephan_4 (1=1) (0=0) (missing=0) into georgestephan_4.
freq georgestephan_4.

compute theview_4=ME4B03_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME4B03_4 /TARGET VARIABLES=theview_4. 
freq ME4B03_4 theview_4.
recode theview_4 (1=1) (0=0) (missing=0) into theview_4.
freq theview_4.

compute loudobbs_4=me4b05_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b05_4 /TARGET VARIABLES=loudobbs_4. 
freq me4b05_4 loudobbs_4.
recode loudobbs_4 (1=1) (0=0) (missing=0) into loudobbs_4.
freq loudobbs_4.

compute colbert_4=ME4B06_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME4B06_4 /TARGET VARIABLES=colbert_4. 
freq ME4B06_4 colbert_4.
recode colbert_4 (1=1) (0=0) (missing=0) into colbert_4.
freq colbert_4.

compute andersoncooper_4=me4b07_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b07_4 /TARGET VARIABLES=andersoncooper_4. 
freq me4b07_4 andersoncooper_4.
recode andersoncooper_4 (1=1) (0=0) (missing=0) into andersoncooper_4.
freq andersoncooper_4.

compute geraldo_4=me4b08_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b08_4 /TARGET VARIABLES=geraldo_4. 
freq me4b08_4 geraldo_4.
recode geraldo_4 (1=1) (0=0) (missing=0) into geraldo_4.
freq geraldo_4.

compute olbermann_4=me4b09_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b09_4 /TARGET VARIABLES=olbermann_4. 
freq me4b09_4 olbermann_4.
recode olbermann_4 (1=1) (0=0) (missing=0) into olbermann_4.
freq olbermann_4.

compute datelinenbc_4=me4b10_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b10_4 /TARGET VARIABLES=datelinenbc_4. 
freq me4b10_4 datelinenbc_4.
recode datelinenbc_4 (1=1) (0=0) (missing=0) into datelinenbc_4.
freq datelinenbc_4.

compute studiobshepsmith_4=me4b12_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b12_4 /TARGET VARIABLES=studiobshepsmith_4. 
freq me4b12_4 studiobshepsmith_4.
recode studiobshepsmith_4 (1=1) (0=0) (missing=0) into studiobshepsmith_4.
freq studiobshepsmith_4.

compute reliablesources_4=me4b13_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b13_4 /TARGET VARIABLES=reliablesources_4. 
freq me4b13_4 reliablesources_4.
recode reliablesources_4 (1=1) (0=0) (missing=0) into reliablesources_4.
freq reliablesources_4.

compute neilcavuto_4=me4b14_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b14_4 /TARGET VARIABLES=neilcavuto_4. 
freq me4b14_4 neilcavuto_4.
recode neilcavuto_4 (1=1) (0=0) (missing=0) into neilcavuto_4.
freq neilcavuto_4.

compute mclaughlingroup_4=me4b15_4.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b15_4 /TARGET VARIABLES=mclaughlingroup_4. 
freq me4b15_4 mclaughlingroup_4.
recode mclaughlingroup_4 (1=1) (0=0) (missing=0) into mclaughlingroup_4.
freq mclaughlingroup_4.


value labels nightline_4 abcworldnews_4 todayshow_4 nbcnightlynews_4 lehrer_4 betnews_4 foxnews_4 goodmornamer_4
cbseveningnews_4 cbsmorningnews_4 cnnheadline_4 amerthismorn_4 dailyshow_4 oreillyfactor_4 earlyshow_4 facenation_4 foxandfriends_4
frontline_4 hannitycolmes_4 hannityamer_4 hardball_4 latewolfblitzer_4 meetpress_4 msnbclive_4 outinopen_4
situationroom_4 brithume_4 larryking_4 cbssundaymorn_4 beltwayboys_4 foxshepardsmith_4 georgestephan_4 theview_4 loudobbs_4
colbert_4 andersoncooper_4 geraldo_4 olbermann_4 datelinenbc_4 studiobshepsmith_4 reliablesources_4 neilcavuto_4 mclaughlingroup_4
sixtymins_4 twentytwenty_4 leno_4 letterman_4 ellen_4 oprah_4 1 "Watched" 0 "Did not watch".


***TOTAL NUMBER OF TV PROGRAMS WATCHED -- including Rs who were not asked program items (coded as 0)***

**WAVE 4**

count numbertv_4=nightline_4 abcworldnews_4 todayshow_4 nbcnightlynews_4 lehrer_4 betnews_4 foxnews_4 goodmornamer_4
cbseveningnews_4 cbsmorningnews_4 cnnheadline_4 amerthismorn_4 dailyshow_4 oreillyfactor_4 earlyshow_4 facenation_4 foxandfriends_4
frontline_4 hannitycolmes_4 hannityamer_4 hardball_4 latewolfblitzer_4 meetpress_4 msnbclive_4 outinopen_4
situationroom_4 brithume_4 larryking_4 cbssundaymorn_4 beltwayboys_4 foxshepardsmith_4 georgestephan_4 theview_4 loudobbs_4
colbert_4 andersoncooper_4 geraldo_4 olbermann_4 datelinenbc_4 studiobshepsmith_4 reliablesources_4 neilcavuto_4 mclaughlingroup_4
sixtymins_4 twentytwenty_4 (1).
variable labels numbertv_4 "Number of TV News Programs Watched w4".
freq numbertv_4.

****PROGRAM PARTISANSHIP****

count numconTV_4=foxnews_4 foxshepardsmith_4 hannitycolmes_4 oreillyfactor_4 brithume_4 
hannityamer_4 beltwayboys_4 studiobshepsmith_4 geraldo_4  neilcavuto_4 foxandfriends_4 (1).
freq numcontv_4.

count numlibTV_4=andersoncooper_4 olbermann_4 hardball_4 cnnheadline_4 nightline_4 situationroom_4 dailyshow_4 
goodmornamer_4 georgestephan_4 theview_4 colbert_4 latewolfblitzer_4 msnbclive_4 outinopen_4 betnews_4 (1).
freq numlibtv_4.

count numneuTV_4=abcworldnews_4 cbseveningnews_4 loudobbs_4 nbcnightlynews_4 meetpress_4 todayshow_4 
 lehrer_4 larryking_4 sixtymins_4 facenation_4  reliablesources_4 earlyshow_4 frontline_4 cbssundaymorn_4  twentytwenty_4 
datelinenbc_4 mclaughlingroup_4 cbsmorningnews_4 amerthismorn_4 (1).
freq numneutv_4.



**PROPORTION NEUTRAL PROGRAMS**

do if (numbertv_4>0).
compute propneutv_4=numneutv_4/numbertv_4.
end if.
freq propneutv_4.

do if (numbertv_4=0).
compute propneutv_4=0.
end if.
freq propneutv_4.

variable labels propneutv_4 "Prop neutral w4".



***WAVE 5: RECODING EXPOSURE TO EACH TELEVISION PROGRAM -- coded 1 for watched; 0 for "not watched" or "not asked"***



compute nightline_5=me2a02_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a02_5 /TARGET VARIABLES=nightline_5. 
freq me2a02_5 nightline_5.
recode nightline_5 (1=1) (0=0) (missing=0) into nightline_5.
freq nightline_5.

compute abcworldnews_5=me2a03_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a03_5 /TARGET VARIABLES=abcworldnews_5. 
freq me2a03_5 abcworldnews_5.
recode abcworldnews_5 (1=1) (0=0) (missing=0) into abcworldnews_5.
freq abcworldnews_5.

compute todayshow_5=me2a04_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a04_5 /TARGET VARIABLES=todayshow_5. 
freq me2a04_5 todayshow_5.
recode todayshow_5 (1=1) (0=0) (missing=0) into todayshow_5.
freq todayshow_5.

compute nbcnightlynews_5=me2a05_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a05_5 /TARGET VARIABLES=nbcnightlynews_5. 
freq me2a05_5 nbcnightlynews_5.
recode nbcnightlynews_5 (1=1) (0=0) (missing=0) into nbcnightlynews_5.
freq nbcnightlynews_5.

compute lehrer_5=me2a06_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a06_5 /TARGET VARIABLES=lehrer_5. 
freq me2a06_5 lehrer_5.
recode lehrer_5 (1=1) (0=0) (missing=0) into lehrer_5.
freq lehrer_5.

compute BETnews_5=me2a07_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a07_5 /TARGET VARIABLES=BETnews_5. 
freq me2a07_5 BETnews_5.
recode betnews_5 (1=1) (0=0) (missing=0) into betnews_5.
freq betnews_5.

compute FOXnews_5=me2a08_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a08_5 /TARGET VARIABLES=FOXnews_5. 
freq me2a08_5 FOXnews_5.
recode foxnews_5 (1=1) (0=0) (missing=0) into foxnews_5.
freq foxnews_5.

compute goodmornamer_5=me2a09_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a09_5 /TARGET VARIABLES=goodmornamer_5. 
freq me2a09_5 goodmornamer_5.
recode goodmornamer_5 (1=1) (0=0) (missing=0) into goodmornamer_5.
freq goodmornamer_5.

compute cbseveningnews_5=me2a10_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a10_5 /TARGET VARIABLES=cbseveningnews_5. 
freq me2a10_5 cbseveningnews_5.
recode cbseveningnews_5 (1=1) (0=0) (missing=0) into cbseveningnews_5.
freq cbseveningnews_5.

compute cbsmorningnews_5=me2a11_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a11_5 /TARGET VARIABLES=cbsmorningnews_5. 
freq me2a11_5 cbsmorningnews_5.
recode cbsmorningnews_5 (1=1) (0=0) (missing=0) into cbsmorningnews_5.
freq cbsmorningnews_5.

compute cnnheadline_5=me2a12_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a12_5 /TARGET VARIABLES=cnnheadline_5. 
freq me2a12_5 cnnheadline_5.
recode cnnheadline_5 (1=1) (0=0) (missing=0) into cnnheadline_5.
freq cnnheadline_5.

compute leno_5=ME2A13_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2A13_5 /TARGET VARIABLES=leno_5. 
freq ME2A13_5 leno_5.
recode leno_5 (1=1) (0=0) (missing=0) into leno_5.
freq leno_5.

compute amerthismorn_5=me2a14_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2a14_5 /TARGET VARIABLES=amerthismorn_5. 
freq me2a14_5 amerthismorn_5.
recode amerthismorn_5 (1=1) (0=0) (missing=0) into amerthismorn_5.
freq amerthismorn_5.

compute dailyshow_5=ME2A15_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2A15_5 /TARGET VARIABLES=dailyshow_5. 
freq ME2A15_5 dailyshow_5.
recode dailyshow_5 (1=1) (0=0) (missing=0) into dailyshow_5.
freq dailyshow_5.

compute sixtymins_5=me2b01_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b01_5 /TARGET VARIABLES=sixtymins_5. 
freq me2b01_5 sixtymins_5.
recode sixtymins_5 (1=1) (0=0) (missing=0) into sixtymins_5.
freq sixtymins_5.

compute letterman_5=ME2B02_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2B02_5 /TARGET VARIABLES=letterman_5. 
freq letterman_5 ME2B02_5.
recode letterman_5 (1=1) (0=0) (missing=0) into letterman_5.
freq letterman_5.

compute oreillyfactor_5=me2b03_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b03_5 /TARGET VARIABLES=oreillyfactor_5. 
freq me2b03_5 oreillyfactor_5.
recode oreillyfactor_5 (1=1) (0=0) (missing=0) into oreillyfactor_5.
freq oreillyfactor_5.

compute earlyshow_5=me2b04_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b04_5 /TARGET VARIABLES=earlyshow_5. 
freq me2b04_5 earlyshow_5.
recode earlyshow_5 (1=1) (0=0) (missing=0) into earlyshow_5.
freq earlyshow_5.

compute ellen_5=ME2B05_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME2B05_5 /TARGET VARIABLES=ellen_5. 
freq ME2B05_5 ellen_5.
recode ellen_5 (1=1) (0=0) (missing=0) into ellen_5.
freq ellen_5.

compute facenation_5=me2b06_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b06_5 /TARGET VARIABLES=facenation_5. 
freq me2b06_5 facenation_5.
recode facenation_5 (1=1) (0=0) (missing=0) into facenation_5.
freq facenation_5.

compute foxandfriends_5=me2b07_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b07_5 /TARGET VARIABLES=foxandfriends_5. 
freq me2b07_5 foxandfriends_5.
recode foxandfriends_5 (1=1) (0=0) (missing=0) into foxandfriends_5.
freq foxandfriends_5.

compute frontline_5=me2b09_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b09_5 /TARGET VARIABLES=frontline_5. 
freq me2b09_5 frontline_5.
recode frontline_5 (1=1) (0=0) (missing=0) into frontline_5.
freq frontline_5.

compute hannitycolmes_5=me2b10_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b10_5 /TARGET VARIABLES=hannitycolmes_5. 
freq me2b10_5 hannitycolmes_5.
recode hannitycolmes_5 (1=1) (0=0) (missing=0) into hannitycolmes_5.
freq hannitycolmes_5.

compute hannityamer_5=me2b11_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b11_5 /TARGET VARIABLES=hannityamer_5. 
freq me2b11_5 hannityamer_5.
recode hannityamer_5 (1=1) (0=0) (missing=0) into hannityamer_5.
freq hannityamer_5.

compute hardball_5=me2b12_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b12_5 /TARGET VARIABLES=hardball_5. 
freq me2b12_5 hardball_5.
recode hardball_5 (1=1) (0=0) (missing=0) into hardball_5.
freq hardball_5.

compute latewolfblitzer_5=me2b14_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me2b14_5 /TARGET VARIABLES=latewolfblitzer_5. 
freq me2b14_5 latewolfblitzer_5.
recode latewolfblitzer_5 (1=1) (0=0) (missing=0) into latewolfblitzer_5.
freq latewolfblitzer_5.

compute meetpress_5=me4a01_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a01_5 /TARGET VARIABLES=meetpress_5. 
freq me4a01_5 meetpress_5.
recode meetpress_5 (1=1) (0=0) (missing=0) into meetpress_5.
freq meetpress_5.

compute msnbclive_5=me4a02_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a02_5 /TARGET VARIABLES=msnbclive_5. 
freq me4a02_5 msnbclive_5.
recode msnbclive_5 (1=1) (0=0) (missing=0) into msnbclive_5.
freq msnbclive_5.

compute outinopen_5=me4a04_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a04_5 /TARGET VARIABLES=outinopen_5. 
freq me4a04_5 outinopen_5.
recode outinopen_5 (1=1) (0=0) (missing=0) into outinopen_5.
freq outinopen_5.

compute oprah_5=ME4A05_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME4A05_5 /TARGET VARIABLES=oprah_5. 
freq ME4A05_5 oprah_5.
recode oprah_5 (1=1) (0=0) (missing=0) into oprah_5.
freq oprah_5.

compute situationroom_5=me4a07_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a07_5 /TARGET VARIABLES=situationroom_5. 
freq me4a07_5 situationroom_5.
recode situationroom_5 (1=1) (0=0) (missing=0) into situationroom_5.
freq situationroom_5.

compute brithume_5=me4a08_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a08_5 /TARGET VARIABLES=brithume_5. 
freq me4a08_5 brithume_5.
recode brithume_5 (1=1) (0=0) (missing=0) into brithume_5.
freq brithume_5.

compute larryking_5=me4a09_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a09_5 /TARGET VARIABLES=larryking_5. 
freq me4a09_5 larryking_5.
recode larryking_5 (1=1) (0=0) (missing=0) into larryking_5.
freq larryking_5.

compute cbssundaymorn_5=me4a10_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a10_5 /TARGET VARIABLES=cbssundaymorn_5. 
freq me4a10_5 cbssundaymorn_5.
recode cbssundaymorn_5 (1=1) (0=0) (missing=0) into cbssundaymorn_5.
freq cbssundaymorn_5.

compute beltwayboys_5=me4a11_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a11_5 /TARGET VARIABLES=beltwayboys_5. 
freq me4a11_5 beltwayboys_5.
recode beltwayboys_5 (1=1) (0=0) (missing=0) into beltwayboys_5.
freq beltwayboys_5.

compute twentytwenty_5=me4a12_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a12_5 /TARGET VARIABLES=twentytwenty_5. 
freq me4a12_5 twentytwenty_5.
recode twentytwenty_5 (1=1) (0=0) (missing=0) into twentytwenty_5.
freq twentytwenty_5.

compute foxshepardsmith_5=me4a13_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4a13_5 /TARGET VARIABLES=foxshepardsmith_5. 
freq me4a13_5 foxshepardsmith_5.
recode foxshepardsmith_5 (1=1) (0=0) (missing=0) into foxshepardsmith_5.
freq foxshepardsmith_5.

compute georgestephan_5=me4b02_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b02_5 /TARGET VARIABLES=georgestephan_5. 
freq me4b02_5 georgestephan_5.
recode georgestephan_5 (1=1) (0=0) (missing=0) into georgestephan_5.
freq georgestephan_5.

compute theview_5=ME4B03_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME4B03_5 /TARGET VARIABLES=theview_5. 
freq ME4B03_5 theview_5.
recode theview_5 (1=1) (0=0) (missing=0) into theview_5.
freq theview_5.

compute loudobbs_5=me4b05_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b05_5 /TARGET VARIABLES=loudobbs_5. 
freq me4b05_5 loudobbs_5.
recode loudobbs_5 (1=1) (0=0) (missing=0) into loudobbs_5.
freq loudobbs_5.

compute colbert_5=ME4B06_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = ME4B06_5 /TARGET VARIABLES=colbert_5. 
freq ME4B06_5 colbert_5.
recode colbert_5 (1=1) (0=0) (missing=0) into colbert_5.
freq colbert_5.

compute andersoncooper_5=me4b07_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b07_5 /TARGET VARIABLES=andersoncooper_5. 
freq me4b07_5 andersoncooper_5.
recode andersoncooper_5 (1=1) (0=0) (missing=0) into andersoncooper_5.
freq andersoncooper_5.

compute geraldo_5=me4b08_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b08_5 /TARGET VARIABLES=geraldo_5. 
freq me4b08_5 geraldo_5.
recode geraldo_5 (1=1) (0=0) (missing=0) into geraldo_5.
freq geraldo_5.

compute olbermann_5=me4b09_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b09_5 /TARGET VARIABLES=olbermann_5. 
freq me4b09_5 olbermann_5.
recode olbermann_5 (1=1) (0=0) (missing=0) into olbermann_5.
freq olbermann_5.

compute datelinenbc_5=me4b10_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b10_5 /TARGET VARIABLES=datelinenbc_5. 
freq me4b10_5 datelinenbc_5.
recode datelinenbc_5 (1=1) (0=0) (missing=0) into datelinenbc_5.
freq datelinenbc_5.

compute studiobshepsmith_5=me4b12_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b12_5 /TARGET VARIABLES=studiobshepsmith_5. 
freq me4b12_5 studiobshepsmith_5.
recode studiobshepsmith_5 (1=1) (0=0) (missing=0) into studiobshepsmith_5.
freq studiobshepsmith_5.

compute reliablesources_5=me4b13_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b13_5 /TARGET VARIABLES=reliablesources_5. 
freq me4b13_5 reliablesources_5.
recode reliablesources_5 (1=1) (0=0) (missing=0) into reliablesources_5.
freq reliablesources_5.

compute neilcavuto_5=me4b14_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b14_5 /TARGET VARIABLES=neilcavuto_5. 
freq me4b14_5 neilcavuto_5.
recode neilcavuto_5 (1=1) (0=0) (missing=0) into neilcavuto_5.
freq neilcavuto_5.

compute mclaughlingroup_5=me4b15_5.
APPLY DICTIONARY from * /SOURCE VARIABLES = me4b15_5 /TARGET VARIABLES=mclaughlingroup_5. 
freq me4b15_5 mclaughlingroup_5.
recode mclaughlingroup_5 (1=1) (0=0) (missing=0) into mclaughlingroup_5.
freq mclaughlingroup_5.


value labels nightline_5 abcworldnews_5 todayshow_5 nbcnightlynews_5 lehrer_5 betnews_5 foxnews_5 goodmornamer_5
cbseveningnews_5 cbsmorningnews_5 cnnheadline_5 amerthismorn_5 dailyshow_5 oreillyfactor_5 earlyshow_5 facenation_5 foxandfriends_5
frontline_5 hannitycolmes_5 hannityamer_5 hardball_5 latewolfblitzer_5 meetpress_5 msnbclive_5 outinopen_5
situationroom_5 brithume_5 larryking_5 cbssundaymorn_5 beltwayboys_5 foxshepardsmith_5 georgestephan_5 theview_5 loudobbs_5
colbert_5 andersoncooper_5 geraldo_5 olbermann_5 datelinenbc_5 studiobshepsmith_5 reliablesources_5 neilcavuto_5 mclaughlingroup_5
sixtymins_5 twentytwenty_5 leno_5 letterman_5 ellen_5 oprah_5 1 "Watched" 0 "Did not watch".

***TOTAL NUMBER OF TV PROGRAMS WATCHED -- including Rs who were not asked program items (coded as 0)***

**WAVE 5**

count numbertv_5=nightline_5 abcworldnews_5 todayshow_5 nbcnightlynews_5 lehrer_5 betnews_5 foxnews_5 goodmornamer_5
cbseveningnews_5 cbsmorningnews_5 cnnheadline_5 amerthismorn_5 dailyshow_5 oreillyfactor_5 earlyshow_5 facenation_5 foxandfriends_5
frontline_5 hannitycolmes_5 hannityamer_5 hardball_5 latewolfblitzer_5 meetpress_5 msnbclive_5 outinopen_5
situationroom_5 brithume_5 larryking_5 cbssundaymorn_5 beltwayboys_5 foxshepardsmith_5 georgestephan_5 theview_5 loudobbs_5
colbert_5 andersoncooper_5 geraldo_5 olbermann_5 datelinenbc_5 studiobshepsmith_5 reliablesources_5 neilcavuto_5 mclaughlingroup_5
sixtymins_5 twentytwenty_5 (1).
variable labels numbertv_5 "Number of TV News Programs Watched w5".
freq numbertv_5.


****PROGRAM PARTISANSHIP ****

count numconTV_5=foxnews_5 foxshepardsmith_5 hannitycolmes_5 oreillyfactor_5 brithume_5 
hannityamer_5 beltwayboys_5 studiobshepsmith_5 geraldo_5  neilcavuto_5 foxandfriends_5 (1).
freq numcontv_5.

count numlibTV_5=andersoncooper_5 olbermann_5 hardball_5 cnnheadline_5 nightline_5 situationroom_5 dailyshow_5 
goodmornamer_5 georgestephan_5 theview_5 colbert_5 latewolfblitzer_5 msnbclive_5 outinopen_5 betnews_5 (1).
freq numlibtv_5.

count numneuTV_5=abcworldnews_5 cbseveningnews_5 loudobbs_5 nbcnightlynews_5 meetpress_5 todayshow_5 
 lehrer_5 larryking_5 sixtymins_5 facenation_5  reliablesources_5 earlyshow_5 frontline_5 cbssundaymorn_5  twentytwenty_5 
datelinenbc_5 mclaughlingroup_5 cbsmorningnews_5 amerthismorn_5 (1).
freq numneutv_5.

**PROPORTION NEUTRAL PROGRAMS**

do if (numbertv_5>0).
compute propneutv_5=numneutv_5/numbertv_5.
end if.
freq propneutv_5.

do if (numbertv_5=0).
compute propneutv_5=0.
end if.
freq propneutv_5.

variable labels propneutv_5 "Prop neutral w5".


**FOR ANALYSIS OF CHANGING VOTERS: PROGRAM PARTISAN SLANT CODED IN TERMS OF W1 PARTY ID
*** LIKEMINDED = SLANTED TOWARD OWN PARTY; CONFLICTING = SLANTED TOWARD OPPOSING PARTY 


**WAVE 2***

***NUMBER OF LIKEMINDED PROGRAMS***


do if (W1partyID=3).
compute numliketv_2=numlibtv_2.
end if.
freq numliketv_2.

do if (W1partyID=1).
compute numliketv_2=numcontv_2.
end if.
freq numliketv_2.

variable labels numliketv_2 "Number likeminded TV progs w2".



***NUMBER OF CONFLICTING PROGRAMS***

do if (W1partyID=3).
compute numopptv_2=numcontv_2.
end if.
freq numopptv_2.

do if (W1partyID=1).
compute numopptv_2=numlibtv_2.
end if.
freq numopptv_2.

variable labels numopptv_2 "Number oppositional TV progs w2".




***PROPORTION LIKEMINDED PROGRAMS***


do if (numbertv_2>0 and W1partisan=1).
compute propliketv_2=numliketv_2/numbertv_2.
end if.
freq propliketv_2.

do if (numbertv_2=0 and W1partisan=1).
compute propliketv_2=0.
end if.
freq propliketv_2.

variable labels propliketv_2 "Prop likeminded w2".


***PROPORTION CONFLICTING PROGRAMS***

*Original coding*

do if (numbertv_2>0 and W1partisan=1).
compute propopptv_2=numopptv_2/numbertv_2.
end if.
freq propopptv_2.

do if (numbertv_2=0 and W1partisan=1).
compute propopptv_2=0.
end if.
freq propopptv_2.

variable labels propopptv_2 "Prop conflicting W2".


***WAVE 4***

***NUMBER OF LIKEMINDED PROGRAMS***


do if (W1partyID=3).
compute numliketv_4=numlibtv_4.
end if.
freq numliketv_4.

do if (W1partyID=1).
compute numliketv_4=numcontv_4.
end if.
freq numliketv_4.

variable labels numliketv_4 "Number likeminded TV progs w4".


***NUMBER OF CONFLICTING PROGRAMS***

do if (W1partyID=3).
compute numopptv_4=numcontv_4.
end if.
freq numopptv_4.

do if (W1partyID=1).
compute numopptv_4=numlibtv_4.
end if.
freq numopptv_4.

variable labels numopptv_4 "Number oppositional TV progs w4".



***PROPORTION LIKEMINDED PROGRAMS***

do if (numbertv_4>0 and W1partisan=1).
compute propliketv_4=numliketv_4/numbertv_4.
end if.
freq propliketv_4.

do if (numbertv_4=0 and W1partisan=1).
compute propliketv_4=0.
end if.
freq propliketv_4.

variable labels propliketv_4 "Prop likeminded w4".


***PROPORTION CONFLICTING PROGRAMS***

do if (numbertv_4>0 and W1partisan=1).
compute propopptv_4=numopptv_4/numbertv_4.
end if.
freq propopptv_4.

do if (numbertv_4=0 and W1partisan=1).
compute propopptv_4=0.
end if.
freq propopptv_4.

variable labels propopptv_4 "Prop conflicting W4".


***WAVE 5***

***NUMBER OF LIKEMINDED PROGRAMS***

do if (W1partyID=3).
compute numliketv_5=numlibtv_5.
end if.
freq numliketv_5.

do if (W1partyID=1).
compute numliketv_5=numcontv_5.
end if.
freq numliketv_5.

variable labels numliketv_5 "Number likeminded TV progs w5".



***NUMBER OF CONFLICTING PROGRAMS***

do if (W1partyID=3).
compute numopptv_5=numcontv_5.
end if.
freq numopptv_5.

do if (W1partyID=1).
compute numopptv_5=numlibtv_5.
end if.
freq numopptv_5.

variable labels numopptv_5 "Number oppositional TV progs w5".



***PROPORTION LIKEMINDED PROGRAMS***

do if (numbertv_5>0 and W1partisan=1).
compute propliketv_5=numliketv_5/numbertv_5.
end if.
freq propliketv_5.

do if (numbertv_5=0 and W1partisan=1).
compute propliketv_5=0.
end if.
freq propliketv_5.

variable labels propliketv_5 "Prop likeminded w5".


***PROPORTION CONFLICTING PROGRAMS***


do if (numbertv_5>0 and W1partisan=1).
compute propopptv_5=numopptv_5/numbertv_5.
end if.
freq propopptv_5.

do if (numbertv_5=0 and W1partisan=1).
compute propopptv_5=0.
end if.
freq propopptv_5.

variable labels propopptv_5 "Prop conflicting w5".




***VARIABLES TO CAPTURE STABLE EXPOSURE TO LIKEMINDED, CONFLICTING, AND NEUTRAL PARTISAN TV NEWS****

compute numliketvavg=mean(numliketv_2, numliketv_4, numliketv_5).
compute numopptvavg=mean(numopptv_2, numopptv_4, numopptv_5).
compute numneutvavg=mean(numneutv_2, numneutv_4, numneutv_5).
compute numbertvavg=mean(numbertv_2, numbertv_4, numbertv_5).


compute propliketvavg=mean(propliketv_2, propliketv_4, propliketv_5).
compute propopptvavg=mean(propopptv_2, propopptv_4, propopptv_5).
compute propneutvavg=mean(propneutv_2, propneutv_4, propneutv_5).

means numliketvavg numopptvavg numneutvavg numbertvavg propliketvavg propopptvavg propneutvavg.




****FOR ANALYSIS OF CONSTANT VOTERS: PROGRAM PARTISAN SLANT CODED IN TERMS OF RESPONDENT'S CONSTANT VOTE CHOICE***
**VOTE-CONSISTENT = SLANTED TOWARD PREFERRED CANDIDATE; VOTE-INCONSISTENT = SLANTED TOWARD OPPONENT**


***Wave 2***

*Number of TV programs watched that were consistent with vote choice*

do if (vote345=111).
compute numtvconsist_2=numcontv_2.
end if.
fre numtvconsist_2.

do if (vote345=222).
compute numtvconsist_2=numlibtv_2.
end if.
fre numtvconsist_2.
variable labels numtvconsist_2 "Num. TV progs consistent w/vote choice W2".


*Number of TV programs watched that were INconsistent with vote choice*

do if (vote345=111).
compute numtvinconsist_2=numlibtv_2.
end if.
fre numtvinconsist_2.

do if (vote345=222).
compute numtvinconsist_2=numcontv_2.
end if.
fre numtvinconsist_2.
variable labels numtvinconsist_2 "Num. TV progs INconsistent w/vote choice W2".


***Proportion vote-consistent programs***

do if (numbertv_2>0 and W345nochange=1).
compute proptvconsist_2=numtvconsist_2/numbertv_2.
end if.
freq proptvconsist_2.

do if (numbertv_2=0 and W345nochange=1).
compute proptvconsist_2=0.
end if.
freq proptvconsist_2.

variable labels proptvconsist_2 "Prop. consistent TV w2".

***Proportion of vote-inconsistent programs***

do if (numbertv_2>0 and W345nochange=1).
compute proptvinconsist_2=numtvinconsist_2/numbertv_2.
end if.
freq proptvinconsist_2.

do if (numbertv_2=0 and W345nochange=1).
compute proptvinconsist_2=0.
end if.
freq proptvinconsist_2.

variable labels proptvinconsist_2 "Prop. inconsistent TV w2".



***Wave 4***


*Number of TV programs watched that were consistent with vote choice*

do if (vote345=111).
compute numtvconsist_4=numcontv_4.
end if.
fre numtvconsist_4.

do if (vote345=222).
compute numtvconsist_4=numlibtv_4.
end if.
fre numtvconsist_4.
variable labels numtvconsist_4 "Num. TV progs consistent w/vote choice W4".


*Number of TV programs watched that were INconsistent with vote choice*

do if (vote345=111).
compute numtvinconsist_4=numlibtv_4.
end if.
fre numtvinconsist_4.

do if (vote345=222).
compute numtvinconsist_4=numcontv_4.
end if.
fre numtvinconsist_4.
variable labels numtvinconsist_4 "Num. TV progs INconsistent w/vote choice W4".

***Proportion vote-consistent programs***

do if (numbertv_4>0 and W345nochange=1).
compute proptvconsist_4=numtvconsist_4/numbertv_4.
end if.
freq proptvconsist_4.

do if (numbertv_4=0 and W345nochange=1).
compute proptvconsist_4=0.
end if.
freq proptvconsist_4.

variable labels proptvconsist_4 "Prop. consistent TV w4".

***Proportion of conflicting programs***

do if (numbertv_4>0 and W345nochange=1).
compute proptvinconsist_4=numtvinconsist_4/numbertv_4.
end if.
freq proptvinconsist_4.

do if (numbertv_4=0 and W345nochange=1).
compute proptvinconsist_4=0.
end if.
freq proptvinconsist_4.

variable labels proptvinconsist_4 "Prop. inconsistent TV w4".


***Wave 5***


*Number of TV programs watched that were consistent with vote choice*

do if (vote345=111).
compute numtvconsist_5=numcontv_5.
end if.
fre numtvconsist_5.

do if (vote345=222).
compute numtvconsist_5=numlibtv_5.
end if.
fre numtvconsist_5.
variable labels numtvconsist_5 "Num. TV progs consistent w/vote choice W5".


*Number of TV programs watched that were INconsistent with vote choice*

do if (vote345=111).
compute numtvinconsist_5=numlibtv_5.
end if.
fre numtvinconsist_5.

do if (vote345=222).
compute numtvinconsist_5=numcontv_5.
end if.
fre numtvinconsist_5.
variable labels numtvinconsist_5 "Num. TV progs INconsistent w/vote choice W5".


***Proportion vote-consistent programs***

do if (numbertv_5>0 and W345nochange=1).
compute proptvconsist_5=numtvconsist_5/numbertv_5.
end if.
freq proptvconsist_5.

do if (numbertv_5=0 and W345nochange=1).
compute proptvconsist_5=0.
end if.
freq proptvconsist_5.

variable labels proptvconsist_5 "Prop. consistent TV w5".

***Proportion of conflicting programs***

do if (numbertv_5>0 and W345nochange=1).
compute proptvinconsist_5=numtvinconsist_5/numbertv_5.
end if.
freq proptvinconsist_5.

do if (numbertv_5=0 and W345nochange=1).
compute proptvinconsist_5=0.
end if.
freq proptvinconsist_5.

variable labels proptvinconsist_5 "Prop. inconsistent TV w5".


**VARIABLES CAPTURING STABLE LEVELS OF EXPOSURE TO VOTE-CONSISTENT AND VOTE-INCONSISTENT PARTISAN TV NEWS**

do if (W345nochange=1).
compute numtvconsistavg=mean(numtvconsist_2, numtvconsist_4, numtvconsist_5).
compute numtvinconsistavg=mean(numtvinconsist_2, numtvinconsist_4, numtvinconsist_5).
compute proptvconsistavg=mean(proptvconsist_2, proptvconsist_4, proptvconsist_5).
compute proptvinconsistavg=mean(proptvinconsist_2, proptvinconsist_4, proptvinconsist_5).
end if.
means numtvconsistavg numtvinconsistavg proptvconsistavg proptvinconsistavg.
variable labels numtvconsistavg "Num. consistent TV w245avg".
variable labels numtvinconsistavg "Num. inconsistent TV w245avg".
variable labels proptvconsistavg "Prop. consistent TV w245avg".
variable labels proptvinconsistavg "Prop. inconsistent TV w245avg".




****Variable to isolate the respondents (constant voters) included in the analysis of reinforcement****
*Save as a NEW data file with this subsample of respondents prior to converting the SPSS file to Stata and running the fixed effects models*

if vote345=111 W345nochange=1.
if vote345=222 W345nochange=1.
value labels W345nochange 1 "Partisans with same W345 vote choice".
variable labels W345nochange "Partisans with constant vote choice".
fre W345nochange.

select if (W345nochange=1).
execute.


